🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

cabindc-cli

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cabindc-cli

dmall cabinx components import tool.

npmnpm
Version
1.0.1
Version published
Weekly downloads
1
-96.3%
Maintainers
1
Weekly downloads
 
Created
Source

CabinX Dynamic Component Tool

CabinX动态组件相关系统组件导入工具

用处

CabinX基于Vue创建了一系列系统组件来提供CabinX风格支持,同时采用Webpack来进行静态编译,而动态组件是运行时加载,因此需要提前引入被编译的组件入口,而本工具将解析后的组件生成必要文件提供入口

开始使用

安装工具

npm i cabindc-cli -g 或者
yarn global add cabindc-cli

进入你的项目

cd your/path/kayak-project/yourproject

使用命令

  • -p, --project [value] 指定项目路径名称 需要指定你项目的名称,例如:promotion-display

  • -s, --sub-path [value] 指定项目生成的模块文件置的位置 需要指定你在dev开发文件夹下的路径,例如:dynamic-component

  • 示例

cabindc-cli -p cabinx_demo -s dynamic-component

将会生成dev/cabinx_demo/dynamic-component/cabinx-components.jsdev/cabinx_demo/dynamic-component/cabinx-dynamic-component-wrap.js两个文件

FAQs

Package last updated on 15 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts