File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1261,17 +1261,17 @@ Vuedoc can be extended using plugins.
1261
1261
1262
1262
To use a plugin, it needs to be added to the ` devDependencies ` of the project
1263
1263
and included in the plugins array ` options.plugins ` . For example, to provide
1264
- support of Vue Router, the official [ ` @vuedoc/vue-router-plugin ` ] ( https://gitlab.com/vuedoc/vue-router-plugin )
1264
+ support of Vue Router, the official [ ` @vuedoc/plugin- vue-router ` ] ( https://gitlab.com/vuedoc/plugin- vue-router )
1265
1265
can be used:
1266
1266
1267
1267
``` sh
1268
- $ npm add -D @vuedoc/vue-router-plugin
1268
+ $ npm add -D @vuedoc/plugin- vue-router
1269
1269
```
1270
1270
1271
1271
``` js
1272
1272
// main.js
1273
1273
import { parseComponent } from ' @vuedoc/parser' ;
1274
- import { VueRouterPlugin } from ' @vuedoc/vue-router-plugin ' ;
1274
+ import { VueRouterPlugin } from ' @vuedoc/plugin- vue-router' ;
1275
1275
1276
1276
const component = await parseComponent ({
1277
1277
plugins: [
@@ -1285,8 +1285,8 @@ const component = await parseComponent({
1285
1285
1286
1286
| Name | Description | Documentation |
1287
1287
| ----------------- | -------------------------------- | -------------------------------------------------------------------------- |
1288
- | Vue Router Plugin | The Vue Router plugin for Vuedoc | [ ` @vuedoc/vue-router-plugin ` ] ( https://gitlab.com/vuedoc/vue-router-plugin ) |
1289
- | Vuex Plugin | The Vuex plugin for Vuedoc | [ ` @vuedoc/vuex- plugin ` ] ( https://gitlab.com/vuedoc/vuex- plugin ) |
1288
+ | Vue Router Plugin | The Vue Router plugin for Vuedoc | [ ` @vuedoc/plugin- vue-router ` ] ( https://gitlab.com/vuedoc/plugin- vue-router ) |
1289
+ | Vuex Plugin | The Vuex plugin for Vuedoc | [ ` @vuedoc/plugin-vuex ` ] ( https://gitlab.com/vuedoc/plugin-vuex ) |
1290
1290
1291
1291
### Building Plugins
1292
1292
You can’t perform that action at this time.
0 commit comments