Install / Usage

Mr.Hope ... Instruction
  • Intro
Less than 1 minute

# Use in new project

You can use vuepress-theme-hope template (opens new window) directly to start your VuePress journey.

# Use in existing project

# Installation

npm i -D vuepress-theme-hope
1

Or

yarn add -D vuepress-theme-hope
1

# Usage

// .vuepress/config.js
const { config } = require("vuepress-theme-hope");

module.exports = config({
  // your config here
});
1
2
3
4
5
6

Tips

To minimize user configuration, vuepress-theme-hope provides some configuration options that need to be processed before being submitted to VuePress. At the same time, vuepress-theme-hope will also allow you to omit some configurations and automatically generate them for you.

For example, automatically generate multi-language options in the project configuration for you based on the multi-language options in your theme configuration, and automatically help you complete the localization work.

Last update: November 26, 2020 09:05