Skip to content

Commit

Permalink
docs: update plugins FAQ example links (#2102)
Browse files Browse the repository at this point in the history
  • Loading branch information
billyyyyy3320 authored and meteorlxy committed Jan 3, 2020
1 parent 8a6be07 commit abc86e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/docs/docs/faq/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ module.exports = (options, ctx) => ({
**Example:**

- [@vuepress/plugin-register-components](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-register-components/index.js#L24): Automatically registering components on the client-side.
- [@vuepress/plugin-pagination](https://github.com/vuejs/vuepress/blob/master/packages/@vuepress/plugin-pagination/index.js#L14): Automatically insert Vue plugins to expand the API of the client.
- [@vuepress/plugin-google-analytics](https://github.com/vuejs/vuepress/blob/master/packages/@vuepress/plugin-google-analytics/enhanceAppFile.js): Automatically set up Google Analytics.

## When do I need to use `clientDynamicModules`?

Expand All @@ -63,5 +63,5 @@ module.exports = (options, ctx) => ({

**Example:**

- [@vuepress/plugin-blog](https://github.com/ulivz/vuepress-plugin-blog/blob/master/src/index.ts#L167): Using compile-time metadata to generate some dynamic blog-related modules and initialize them on the client-side by using `enhanceAppFiles`.
- [@vuepress/plugin-blog](https://github.com/vuepressjs/vuepress-plugin-blog/blob/master/src/node/index.ts#L208): Using compile-time metadata to generate some dynamic blog-related modules and initialize them on the client-side by using `enhanceAppFiles`.

4 changes: 2 additions & 2 deletions packages/docs/docs/zh/faq/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ module.exports = (options, ctx) => ({
**比如:**

- [@vuepress/plugin-register-components](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-register-components/index.js#L24):在客户端自动注册组件
- [@vuepress/plugin-pagination](https://github.com/vuejs/vuepress/blob/master/packages/@vuepress/plugin-pagination/index.js#L14):自动注入 Vue 插件来拓展客户端 API
- [@vuepress/plugin-google-analytics](https://github.com/vuejs/vuepress/blob/master/packages/@vuepress/plugin-google-analytics/enhanceAppFile.js):自动配置 Google Analytics

## 什么时候需要使用 `clientDynamicModules`?

Expand All @@ -63,5 +63,5 @@ module.exports = (options, ctx) => ({

**比如:**

- [@vuepress/plugin-blog](https://github.com/ulivz/vuepress-plugin-blog/blob/master/src/index.ts#L167):使用编译期元数据生成一些博客相关的动态模块并通过 `enhanceAppFiles` 将他们在客户端初始化
- [@vuepress/plugin-blog](https://github.com/vuepressjs/vuepress-plugin-blog/blob/master/src/node/index.ts#L208):使用编译期元数据生成一些博客相关的动态模块并通过 `enhanceAppFiles` 将他们在客户端初始化

0 comments on commit abc86e8

Please sign in to comment.