提交 9521ac49 编写于 作者: U ULIVZ

docs($cn): sync plugin

上级 dfa6e544
......@@ -2,9 +2,9 @@
Plugins usually add global-level functionality to VuePress. There is no strictly defined scope for a plugin - there are typically several types of plugins:
1. Extend the data generated at compile time. e.g. [@vuepress/plugin-last-updated](./official/plugin-last-updated.md).
2. Generate extra files before or after compilation. e.g. [@vuepress/plugin-pwa](./official/plugin-pwa.md).
3. Add extra pages. e.g. [@vuepress/plugin-i18n-ui](./official/plugin-i18n-ui.md).
1. Extend the data generated at compile time. e.g. [@vuepress/plugin-last-updated](./official/plugin-last-updated.md);
2. Generate extra files before or after compilation. e.g. [@vuepress/plugin-pwa](./official/plugin-pwa.md);
3. Add extra pages. e.g. [@vuepress/plugin-i18n-ui](./official/plugin-i18n-ui.md);
4. Inject global UI. e.g. [@vuepress/plugin-back-to-top](./official/plugin-back-to-top.md).
![Architecture of VuePress](/architecture.png)
---
title: back-to-top
metaTitle: Back-To-Top | VuePress
metaTitle: Back-To-Top Plugin | VuePress
---
# [@vuepress/plugin-back-to-top](https://github.com/vuejs/vuepress/tree/master/packages/%40vuepress/plugin-back-to-top)
......
......@@ -2,9 +2,9 @@
插件通常会为 VuePress 添加全局功能。插件的范围没有限制——一般有下面几种:
1. 拓展在编译期生成的数据,如:[@vuepress/plugin-last-updated](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-last-updated).
2. 在编译前后生成额外的文件,如:[@vuepress/plugin-pwa](https://github.com/vuejs/vuepress/tree/master/packages/%40vuepress/plugin-pwa)
3. 增加额外的页面,如:[@vuepress/plugin-i18n-ui](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-i18n-ui)
4. 注入全局的 UI, 如:[@vuepress/plugin-back-to-top](https://github.com/vuejs/vuepress/tree/master/packages/%40vuepress/plugin-back-to-top).
1. 拓展在编译期生成的数据,如:[@vuepress/plugin-last-updated](./official/plugin-last-updated.md)
2. 在编译前后生成额外的文件,如:[@vuepress/plugin-pwa](./official/plugin-pwa.md)
3. 增加额外的页面,如:[@vuepress/plugin-i18n-ui](./official/plugin-i18n-ui.md)
4. 注入全局的 UI, 如:[@vuepress/plugin-back-to-top](./official/plugin-back-to-top.md)
![Architecture of VuePress](/architecture.png)
---
title: active-header-links
metaTitle: Active-Header-Links 插件 | VuePress
---
# @vuepress/plugin-active-header-links
# [@vuepress/plugin-active-header-links](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-active-header-linksd)
> 页面滚动时自动更新标题链接的插件
## Install
......
---
title: back-to-top
metaTitle: Back-To-Top 插件 | VuePress
---
# @vuepress/plugin-back-to-top
# [@vuepress/plugin-back-to-top](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-back-to-top)
> back-to-top 插件.
......
---
title: blog
metaTitle: Blog 插件 | VuePress
---
# @vuepress/plugin-blog
# [@vuepress/plugin-blog](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-blog)
> 博客插件
......
---
title: google-analytics
metaTitle: Google Analytics 插件 | VuePress
---
# @vuepress/plugin-google-analytics
# [@vuepress/plugin-google-analytics](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-google-analytics)
> Google analytics 插件
......
---
title: i18n-ui
metaTitle: I18n-UI 插件 | VuePress
---
# @vuepress/plugin-i18n-ui
# [@vuepress/plugin-i18n-ui](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-i18n-ui)
> i18n-ui 插件。
......
---
title: last-updated
metaTitle: Last-Updated 插件 | VuePress
---
# @vuepress/plugin-last-updated
# [@vuepress/plugin-last-updated](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-last-updated)
> last-updated 插件。
......
---
title: medium-zoom
metaTitle: Medium-Zoom 插件 | VuePress
---
# @vuepress/plugin-medium-zoom
# [@vuepress/plugin-medium-zoom](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-medium-zoom)
> [medium-zoom](https://github.com/francoischalifour/medium-zoom) 插件
......
---
title: pagination
metaTitle: Pagination 插件 | VuePress
---
# @vuepress/plugin-pagination
# [@vuepress/plugin-pagination](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-pagination)
> 分页器插件
......
---
title: pwa
metaTitle: PWA 插件 | VuePress
---
# @vuepress/plugin-pwa
# [@vuepress/plugin-pwa](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-pwa)
> PWA 插件
......
---
title: search
metaTitle: Search 插件 | VuePress
---
# @vuepress/plugin-search
# [@vuepress/plugin-search](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-search)
> 基于 [Headers](../../miscellaneous/glossary.md#headers) 的搜索插件
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册