File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/@vuepress/core/lib/node Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -385,7 +385,7 @@ module.exports = class App {
385
385
return current
386
386
}
387
387
if ( this . themeAPI . existsParentTheme ) {
388
- const parent = path . resolve ( this . themeAPI . theme . path , filepath )
388
+ const parent = path . resolve ( this . themeAPI . parentTheme . path , filepath )
389
389
if ( fs . existsSync ( parent ) ) {
390
390
return parent
391
391
}
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ module.exports = class ThemeAPI {
80
80
isInternal : true
81
81
}
82
82
logger . warn (
83
- `[vuepress] Cannot resolve Layout.vue file in \n ${ Layout . path } ,`
83
+ `[vuepress] Cannot resolve Layout.vue file in \n ${ Layout . path } , `
84
84
+ `fallback to default layout: ${ fallbackLayoutPath } `
85
85
)
86
86
}
You can’t perform that action at this time.
0 commit comments