We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17ba325 commit 1aaa6e3Copy full SHA for 1aaa6e3
packages/@vuepress/core/lib/node/App.js
@@ -385,7 +385,7 @@ module.exports = class App {
385
return current
386
}
387
if (this.themeAPI.existsParentTheme) {
388
- const parent = path.resolve(this.themeAPI.theme.path, filepath)
+ const parent = path.resolve(this.themeAPI.parentTheme.path, filepath)
389
if (fs.existsSync(parent)) {
390
return parent
391
packages/@vuepress/core/lib/node/theme-api/index.js
@@ -80,7 +80,7 @@ module.exports = class ThemeAPI {
80
isInternal: true
81
82
logger.warn(
83
- `[vuepress] Cannot resolve Layout.vue file in \n ${Layout.path},`
+ `[vuepress] Cannot resolve Layout.vue file in \n ${Layout.path}, `
84
+ `fallback to default layout: ${fallbackLayoutPath}`
85
)
86
0 commit comments