snwit-react-cli
v1.2.4
Published
the snwit react cli
Readme
React框架的项目生成器 :snrcli
前置条件
1.node环境 2.安装git
✏️ 使用方法 ✏️
/** 全局安装 */
npm install snwit-react-cli -g /** 使用简写命令 */
snrcli -h/** 使用init生成项目模板 */
snrcli init/** 进入目录,install,运行项目 */
cd prjectname
npm install
npm run dev🎨 脚手架命令 🎨
|参数|简写|说明|类型| |:-:|:-:|:-:|:-:| |--version|-V|列出当前版本|option |--help|-h|列出帮助信息|option |add|a|添加一个模板git地址|command |list|l|列出当前所有模板信息|command |delete|d|删除指定模板|command |init|i|根据指定模板初始化项目,不指定为默认模板|command
