diff --git a/packages/@vuepress/core/lib/node/theme-api/index.js b/packages/@vuepress/core/lib/node/theme-api/index.js index 31263ef9cf..1776484416 100644 --- a/packages/@vuepress/core/lib/node/theme-api/index.js +++ b/packages/@vuepress/core/lib/node/theme-api/index.js @@ -80,8 +80,8 @@ module.exports = class ThemeAPI { isInternal: true } logger.warn( - `[vuepress] Cannot resolve Layout.vue file in \n ${Layout.path}, ` - + `fallback to default layout: ${fallbackLayoutPath}` + `[vuepress] Cannot resolve Layout.vue file in \n ${layoutDirs.join('\n')}, ` + + `\n fallback to default layout: ${fallbackLayoutPath}` ) } if (!NotFound) {