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
tofalse
.@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
asfalse
.@vuepress/nprogress - Show loading progress bar when switching pages, enabled by default, you can disable it by setting the value of
themePlugins.nprogress
tofalse
.
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);
}