Skip to content

Commit 97eae7e

Browse files
committed
Fix plugin section
1 parent 5b8341e commit 97eae7e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1261,17 +1261,17 @@ Vuedoc can be extended using plugins.
12611261

12621262
To use a plugin, it needs to be added to the `devDependencies` of the project
12631263
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)
12651265
can be used:
12661266

12671267
```sh
1268-
$ npm add -D @vuedoc/vue-router-plugin
1268+
$ npm add -D @vuedoc/plugin-vue-router
12691269
```
12701270

12711271
```js
12721272
// main.js
12731273
import { parseComponent } from '@vuedoc/parser';
1274-
import { VueRouterPlugin } from '@vuedoc/vue-router-plugin';
1274+
import { VueRouterPlugin } from '@vuedoc/plugin-vue-router';
12751275

12761276
const component = await parseComponent({
12771277
plugins: [
@@ -1285,8 +1285,8 @@ const component = await parseComponent({
12851285

12861286
| Name | Description | Documentation |
12871287
| ----------------- | -------------------------------- | -------------------------------------------------------------------------- |
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) |
12901290

12911291
### Building Plugins
12921292

0 commit comments

Comments
 (0)