You can create .vuepress/client.ts
or .vuepress/client.js
as a client config file to customize your site.
When setting { custom: true }
in Behavior options, the theme will import components through @theme-hope
alias, so you can use it to replace any component of the theme.
The theme adds feed support with [@vuepress/plugin-feed
][feed]. To use it, install @vuepress/plugin-feed
manually in your project.
Info
vuepress-theme-hope
provides plugins.feed
in theme options to @vuepress/plugin-feed
.
vuepress-theme-hope
provides SEO enhancements via built-in [@vuepress/plugin-seo
][seo].
To make the plugin work better, you may need to check the page config and configure them properly.
Info
vuepress-theme-hope
passes plugins.seo
in theme options as plugin options to @vuepress/plugin-seo
.
The plugin will make your site fully support Open Content Protocol OGP and JSON-LD 1.1 to enhance the SEO of the site.
If you don't need this plugin, please set plugins.seo
to false
in theme options.
The theme provides progressive web app support [^pwa-intro] via [@vuepress/plugin-pwa
][pwa]. To use it, install @vuepress/plugin-pwa
manually in your project.
Info
If you are using this plugin, we recommend you to set shouldPrefetch: false
in your VuePress config file.
vuepress-theme-hope
provides plugins.pwa
in theme options to @vuepress/plugin-pwa
.