0.0.3 • Published 6 years ago

dn-middleware-xtpl v0.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

group: template name: middleware

title: 中间件工程

dn-template-middleware

中间件模板,用于快速的创建一个 Dawn 中间件工程,和普通的 node 工程模板相比,该模板已包括一个极简的中间件示例。

创建一个中间件

$ dn init -t middleware

如果你的 dn 连接的是默认服务,也可以从模板列表中选择

$ dn init

可在以类似如下的菜单中选择 middleware 模板

? Found 3 templates (Use arrow keys)
  1. front      : Blank front end project template
  2. node       : Blank node project template
❯ 3. middleware : Dawn middleware project template

工程初始化完成后,就可以使用 dn 相关命令进行开发构建了。

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago