Source folder

reco_luan2024-02-23

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'
  })
})
Last Updated 4/30/2024, 3:55:36 AM