Skip to content

Plugins Config

You can configure the plugins that used by classic theme with themePlugins.

Classic theme is using some plugins by default. You can disable a plugin if you really do not want to use it. Make sure you understand what the plugin is for before disabling it.

.vuepress/config.ts
import { themeClassic } from '@vuepress/theme-classic'

export default {
  theme: themeClassic({
    themePlugins: {
      // customize theme plugins here
    },
  }),
}

themePlugins

activeHeaderLinksboolean
Defaulttrue
backToTopBackToTopPluginOptions | boolean
Defaulttrue

Enable @vuepress/plugin-back-to-top or not.

Object value is supported as plugin options.

copyCodeCopyCodePluginOptions | boolean
Defaulttrue

Enable @vuepress/plugin-copy-code or not.

Object value is supported as plugin options.

gitGitPluginOptions | boolean
Defaulttrue

Enable @vuepress/plugin-git or not.

hintMarkdownHintPluginOptions | boolean
Defaulttrue
linksCheckLinksCheckPluginOptions | boolean
Defaulttrue

Enable @vuepress/plugin-links-check or not.

Object value is supported as plugin options.

mediumZoomboolean
Defaulttrue
nprogressboolean
Defaulttrue
prismjsPrismjsPluginOptions | boolean
Defaulttrue
seoPartial<SeoPluginOptions> | boolean
Defaulttrue

Enable @vuepress/plugin-seo or not.

Object value is supported as plugin options.

sitemapPartial<SitemapPluginOptions> | boolean
Defaulttrue

Enable @vuepress/plugin-sitemap or not.

Object value is supported as plugin options.

tabMarkdownTabPluginOptions | boolean
Defaulttrue

Enable @vuepress/plugin-markdown-tab or not.

See also: Code Tabs and Tabs

MIT Licensed