teu-cli helps you to kickstart new projects, prescribing best practices and tools to help you stay productive.
Prerequisites: Node.js (>=4.x, 6.x preferred) and Git.
$ npm install -g teu-cli
$ teu
Usage: teu <command> [options]
Commands:
init|i create project template
Options:
-h, --help output usage information
-V, --version output the version number
-u, --update update CLI to last
example
$ teu init
? Hi! <User>, choice your project template: (Use arrow keys)
──────────────
❯ ✩ antd admin template
✩ turbo admin template
──────────────
Get me out of here!
choice template
? Hi! <User>, choice your project template: ✩ antd admin template
✔ 模板下载成功
? 请输入项目名称: (antd-admin) # 默认会在当前目录创建 andt-admin 自行定义项目名称
+-------------------------------------------------+
| |
| |
| cd antd-admin && npm install |
| 开发: npm run dev |
| mock: npm run mock |
| 生产: npm run prod |
| |
| |
+-------------------------------------------------+
All Official project template are repos in the turbo adminTemplate
Current available templates include:
See the release page.