unisc-cli
v0.0.10005
Published
unisc-cli
Downloads
11
Readme
unisc-cli
一个脚手架
特性
- 多套项目模板
- 支持更新组件、默认src/components
快速开始
全局安装 CLI:
$ npm i -g unisc-cli
$ unisc-cli -V
-> 0.0.1
初始化项目:
记得修改package.json里面得name
$ unisc-cli create [name]
or
$ unisc-cli c
# 选择模板
# 创建完成
eg: unisc-cli c projectName
更新组件:默认为smartwork-ui
$ unisc-cli update 组件类型 -p 文件夹名称
or
$ unisc-cli u
组件类型: web h5/vue2 h5/vue3
eg: unisc-cli u h5/vue2