Skip to content

Commit 68be2ec

Browse files
authored
docs(zh): correction of some format problems (#6036) [skip ci]
1 parent 0b86e70 commit 68be2ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/zh/dev-guide/plugin-dev.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -293,15 +293,15 @@ module.exports.hooks = (api) => {
293293
}
294294
```
295295

296-
### Service 插件
296+
## Service 插件
297297

298298
Service 插件可以修改 webpack 配置,创建新的 vue-cli service 命令或者修改已经存在的命令(如 `serve``build`)。
299299

300300
Service 插件在 Service 实例被创建后自动加载 - 例如,每次 `vue-cli-service` 命令在项目中被调用的时候。它位于 CLI 插件根目录的 `index.js` 文件。
301301

302302
一个 service 插件应该导出一个函数,这个函数接受两个参数:
303303

304-
- 一个 [PluginAPI][plugin-api.md] 实例
304+
- 一个 [PluginAPI](plugin-api.md) 实例
305305

306306
- 一个包含 `vue.config.js` 内指定的项目本地选项的对象,或者在 `package.json` 内的 `vue` 字段。
307307

0 commit comments

Comments
 (0)