0.5.4 • Published 3 years ago
@lvl/wxapp-cli v0.5.4
wxapp CLI
Install
# 设置 @cis scope
npm config set @lvl:registry https://atc.bmw-brilliance.cn/nexus/repository/npm-group/
# 全局安装cli
npm install @lvl/wxapp-cli -g
# 如果安装有`node-sass`报错 请尝试:
npm install @lvl/wxapp-cli -g --unsafe-perm
Usage
wxapp-cli -v # 查看版本
wxapp-cli -h # 查看帮助
# 创建新项目
wxapp-cli create wxapp-test
# 在项目中新增 页面/组件/分包
# wxapp-cli add page <file-name> --page-name <page-name>
wxapp-cli add page home --page-name home
# wxapp-cli add component <file-name>
wxapp-cli add component product-item
# wxapp-cli add package <file-name> --package-name <package-name>
wxapp-cli add package mypkg --package-name mypkg
# 开发构建
wxapp-cli dev
# 正式构建
wxapp-cli prod
node -v
v10.4.1
# 更新模版
wxapp-cli update
0.5.4
3 years ago
0.5.3
3 years ago
0.5.2
3 years ago
0.5.1
3 years ago
0.5.0
3 years ago
0.4.9
3 years ago
0.4.8
3 years ago
0.4.7
3 years ago
0.4.6
3 years ago
0.4.5
3 years ago
0.4.4
3 years ago
0.4.3
3 years ago
0.4.2
3 years ago
0.4.1
3 years ago
0.4.0
3 years ago
0.3.9
3 years ago
0.3.8
3 years ago
0.3.7
3 years ago
0.3.6
3 years ago
0.3.5
3 years ago
0.3.4
3 years ago
0.3.3
3 years ago
0.3.2
3 years ago
0.3.1
3 years ago
0.3.0
3 years ago
0.2.0
3 years ago