Other Plugin Config
backToTop enabled by default
Controls @vuepress/plugin-back-to-top which provides a back to top button.
No extra config is required by default. Se it to false if you don't need it.
Check back-to-top plugin docs for available plugin options.
catalog enabled by default
Controls @vuepress/plugin-catalog which provides catalog pages generation.
No extra config is required by default. Se it to false if you don't need it.
Check catalog plugin docs for available plugin options.
components
Controls vuepress-plugin-components, providing a set of components for Markdown.
Available component which can be used in Markdown files are:
- ArtPlayer: A video player powered by ArtPlayer
- Badge: Colorful badge component
- BiliBili: Embedded BiliBili video
- CodePen: Embedded CodePen demo
- PDF: Embedded PDF viewer
- Share: Sharing current page with social medias
- StackBlitz: Embedded StackBlitz demo
- SiteInfo: Display sites
- VPBanner: A banner component
- VPCard: A card component
- VidStack: Audio/Video player powered by VidStack
You can set plugins.components.components with an array of components you want, by default it will be ["Badge"].
Also, you can set plugins.components.rootComponents to enable some root components, such as Notice.
Check components plugin docs for available plugin options.
copyCode enabled by default
Controls @vuepress/plugin-copy-code which provides a code copy button on desktop.
No extra config is required by default. Se it to false if you don't need it.
Check copy-code plugin docs for available plugin options.
git enabled in production
Controls @vuepress/plugin-git which provides page meta via Git.
The plugin is only enabled in build mode by default to improve devServer performance. You can manually set a boolean to control the plugin state, or provide plugin options.
Check git plugin docs for available plugin options.
nprogress enabled by default
Controls @vuepress/plugin-nprogress which provides a progress bar through nprogress when switching pages .
You can set false to disable it.
photoSwipe enabled by default
Controls @vuepress/plugin-photo-swipe which provides picture browsing feature.
No extra config is required by default. Se it to false if you don't need it.
Check photo-swipe plugin docs for available plugin options.
pwa
Controls @vuepress/plugin-pwa which provides PWA support.
You can set true to directly enable it, or provide plugin options.
Check pwa plugin docs for available plugin options.
readingTime enabled by default
Controls @vuepress/plugin-reading-time which generates words count and estimated reading time for pages.
readingTime.wordPerMinute
- Type:
number - Default:
300
Reading speed (words per minute)
Check reading-time plugin docs for available plugin options.
redirect enabled by default
Controls @vuepress/plugin-redirect which provides redirect support.
The default option of theme is { switchLocale: 'modal' }, set it to false if you don't need it.
Check redirect plugin docs for available plugin options.
seo enabled by default
Controls @vuepress/plugin-seo which provides search engine enhancements.
No extra config is required by default. Se it to false if you don't need it.
Check seo plugin docs for available plugin options.
sitemap enabled by default
Controls @vuepress/plugin-sitemap which provides sitemap.
No extra config is required by default. Se it to false if you don't need it.
Check sitemap plugin docs for available plugin options.
watermark
Controls @vuepress/plugin-watermark which provides watermark.
Check watermark plugin docs for available plugin options.
Changelog
68504-on5a8ce-on3a801-ondd4a8-on22787-on99f51-on6ad69-onab785-onbdfcb-on88848-ond1876-oncc7db-onfeeb4-on92957-onb51ab-on4a38e-on05c41-on8f594-on636cc-on0fe94-on497db-on25d44-onf4aa3-on3f311-on1bf7c-ondfc52-ond3b16-onc887b-on6136a-on8f6b0-one8287-on2a306-ond5f5b-oneb253-on8174c-onc8d60-on69cce-onc0c7e-on2243a-one2bb6-on832e6-on80eb7-on9856d-one0f17-on48bca-on07909-on306d2-onad023-on88e69-on354ec-on1eb77-on4164d-one4f78-onf6ff0-on8dc9f-on95e4f-on04b8a-on3c199-on