1.1.5 • Published 9 years ago
generator-cut v1.1.5
coracle.cut
Scaffold a project in 1 minute
Some command maybe need authority, please use sudo.
Install
npm install -g yo generator-cutUsage
1. Create the project directory
mkdir app
cd app2. Run the generator
yo cutBe patient.. this may take a few minutes. If throw some Error when install npm package,you can do it by yourself:
npm install3. config
write config.js for your project
4. publish your module to xSimple
npm startuse up or down move,space to select,enter to commit.
warning
Yo cut module name can quickly add modules
License
MIT
========================中文文档========================
Coracle generator
一分钟构建项目
一些命令可能需要权限请使用sudo.
安装指令
npm install -g yo generator-cut用户操作
创建一个目录
指令
mkdir app
cd app运行自定义yeoman模板
指令
yo cut需要一点时间等待安装成功! 如果安装npm依赖包时报错,你可以自己手动安装
npm install3. 配置
config.js 为项目的配置文件
4. 编译并发布应用到xSimple
指令
npm start键盘上下选择模块 按空格表示是否选中 回车提交上传。
温馨提醒
yo cut 模块名 可快速新增模块
协议
MIT