1.0.4 • Published 1 year ago
create-koa2 v1.0.4
create-koa2
创建 koa2 模板项目, 提供ts和js模板选择
--template typescript
以及 --template javascript
安装
npm install create-koa2 -g
使用
create-koa2 [options] <name>
[options]: -h, --help display help for command
--template <template> The template of the project (default: "typescript")
例如:
// 默认为 ts 模板
create-koa2 koa2-project
// js模板
create-koa2 koa2-project --template javascript