koa-action-decorator
v1.0.1
Published
`npm install koa-action-decorator` ## 2. 配置 ``` import {Router} from 'koa-action-decorator'
Downloads
1
Readme
koa-action-decorator
1. 安装
npm install koa-action-decorator
2. 配置
import {Router} from 'koa-action-decorator'
let router = Router({
controllerDir: `[controller目录]`
})
app.use(router.routes())