We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e63469 commit 133bdb3Copy full SHA for 133bdb3
lib/prepare.js
@@ -114,7 +114,7 @@ async function resolveOptions (sourceDir) {
114
// resolve custom theme
115
const themeDir = siteConfig.theme
116
? path.resolve(__dirname, `../../vuepress-theme-${siteConfig.theme}`)
117
- : path.resolve(sourceDir, 'theme')
+ : path.resolve(vuepressDir, 'theme')
118
119
const themePath = path.resolve(themeDir, 'Layout.vue')
120
if (fs.existsSync(themePath)) {
0 commit comments