提交 bfb64108 编写于 作者: U ULIVZ

docs: update

上级 668f8693
......@@ -7,4 +7,8 @@ Plugins usually add global-level functionality to VuePress. There is no strictly
3. Inject global UI. e.g. [@vuepress/plugin-back-to-top](./official/plugin-back-to-top.md);
4. Extend the CLI with custom commands. e.g. [vuepress-plugin-export](https://github.com/ulivz/vuepress-plugin-export).
Here is also a litte slightly complicated plugin example [@vuepress/plugin-blog](https://vuepress-plugin-blog.ulivz.com). that uses compile-time metadata to generate some dynamic modules and initialize them on the client side by using `enhanceAppFiles`.
The architecture of the whole plugin system is as follows:
![Architecture of VuePress](/architecture.png)
......@@ -7,4 +7,8 @@
3. 注入全局的 UI, 如:[@vuepress/plugin-back-to-top](./official/plugin-back-to-top.md);
4. 拓展 CLI 的指令,如 [vuepress-plugin-export](https://github.com/ulivz/vuepress-plugin-export)
这里也有一个略微复杂的插件案例 [@vuepress/plugin-blog](https://vuepress-plugin-blog.ulivz.com), 其使用了编译器的元数据来生成了一些动态模块,并在客户端使用 `enhanceAppFiles` 来初始化他们。
整个插件系统的架构如下:
![Architecture of VuePress](/architecture.png)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册