Plugins

VuePress Official Plugins

VuePress Theme Mix uses the following plugins to aid in development:

WARNING

These plugins cannot be disabled or otherwise customized through the configuration item themePlugins .

To enhance the functionality, the theme also has the following built-in plugins, which can be customized to some extent using the themePlugins configuration item.

  • @vuepress/medium-zoom - Provide image scaling, enabled by default, you can disable it by setting themePlugins.mediumZoom to false .

  • @vuepress/container - Registers custom containers and enable all container types by default.

  • @vuepress/shiki - Syntax highlighting, enabled by default, you can disable it by specifying the value of themePlugins.shiki as false .

  • @vuepress/nprogress - Show loading progress bar when switching pages, enabled by default, you can disable it by setting the value of themePlugins.nprogress to false .

Theme Plugins

@vuepress-theme-mix/back-top

This theme doesn't use VuePress official plugin @vuepress/back-to-top, but comes with one, you can set themePlugins.backTop to false to disable it.

You can also customize its styles with CSS variables:

:root {
  --back-top-color: #fff;
  --back-top-bg-color: rgba(0, 0, 0, 0.45);
}
1
2
3
4
Edit this page
Last Updated: 11/6/2021, 11:57:09 AM