|
@@ -1,7 +1,7 @@
|
|
|
<!--
|
|
|
* @Author: your name
|
|
|
* @Date: 2021-08-19 14:56:43
|
|
|
- * @LastEditTime: 2021-08-20 11:30:28
|
|
|
+ * @LastEditTime: 2021-08-20 11:30:59
|
|
|
* @LastEditors: Please set LastEditors
|
|
|
* @Description: In User Settings Edit
|
|
|
* @FilePath: \md-\koa\koa使用技巧.md
|
|
@@ -14,11 +14,11 @@
|
|
|
1. **安装`koa-router`**
|
|
|
|
|
|
<!-- tabs:start -->
|
|
|
-#### npm
|
|
|
+#### **npm**
|
|
|
```shell
|
|
|
npm i koa-router --save
|
|
|
```
|
|
|
-#### yarn
|
|
|
+#### **yarn**
|
|
|
```shell
|
|
|
yarn add koa-router
|
|
|
```
|