koa-ts-core 0.0.10 → 0.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -11,7 +11,7 @@ npm i koa-ts-core
11
11
  宿主项目需要安装库
12
12
 
13
13
  ```shell
14
- npm i koa koa-router dotenv
14
+ npm i koa @koa/router dotenv
15
15
  ```
16
16
 
17
17
  ## 初始化
@@ -151,7 +151,7 @@ export default Test;
151
151
 
152
152
  #### 装饰器实现
153
153
 
154
- `@Router`和`@AuthRouter`装饰器本质是基于[koa-router](https://github.com/koajs/router)进行封装
154
+ `@Router`和`@AuthRouter`装饰器本质是基于[@koa/router](https://www.npmjs.com/package/@koa/router)进行封装
155
155
 
156
156
  ps:路由参数参考[path-to-regexp](https://github.com/pillarjs/path-to-regexp)
157
157