0.2.1 • Published 4 years ago
@lianpf/create-app-cli v0.2.1
当前版本
参考文档
npm官网搜索
@lianpf/create-app-cli
或 直接点击下列图片跳转
使用教程
init 项目
- 安装
npm install @lianpf/create-app-cli
- 初始化项目
ca init <template-name> <project-name>
其他命令
- 查看版本号
ca -v
- 帮助
ca -h
- 查看模板列表
ca config get templates
或ca cfg get templates
项目模板 <template-name>
react-template
webpack-template
使用示例
// 安装
$ npm install @lianpf/create-app-cli
// 查看模板列表
$ ca cfg get templates
// 选择 react-template 为模板 init 一个项目 myPro
$ ca init react-template myPro