Config Intro
Less than 1 minute
Config Concepts
VuePress mainly stores config and required files through the .vuepress/
folder in the directory.
Info
For the file structure of VuePress, see VuePress Basics → File Structure.
In VuePress, there are three config concepts:
- Site Config: this is the object you export directly in config file
- Theme Config: first option passed to
hopeTheme
function - Page Config: provided by Frontmatter at the top of the page based on YAML syntax
Theme Usage
import { defineUserConfig } from "vuepress";
import { hopeTheme } from "vuepress-theme-hope";
export default defineUserConfig({
// siteConfig here
// ...
theme: hopeTheme(
{
// themeConfig here
// ...
},
{
// theme behavior options here (optional)
},
),
});
Changelog
2/18/25, 7:08 AM
View All Changelog
b1230
-on22787
-on2c32a
-on54c46
-on8a130
-on794f9
-on92fc8
-on8174c
-on2fa50
-on9856d
-on23515
-on9cdd7
-on63d09
-onfd395
-on1eb77
-on60006
-onf6ff0
-on3c199
-on