Source folder
Introduction
TIP
If our project is stored in a subdirectory of the project, such as the /docs
folder, we need to set themeConfig.sourceDir
to /docs
.
Configuration
// .vuepress/config.ts
import { defineUserConfig } from 'vuepress'
import { recoTheme } from 'vuepress-theme-reco'
export default defineUserConfig({
theme: recoTheme({
sourceDir: '/docs'
})
})