diff --git a/lib/prepare.js b/lib/prepare.js index a62dc0732f..f3439cb2e3 100644 --- a/lib/prepare.js +++ b/lib/prepare.js @@ -141,7 +141,7 @@ async function resolveOptions (sourceDir) { } options.themePath = themePath - const notFoundPath = path.resolve(themeDir, '/NotFound.vue') + const notFoundPath = path.resolve(themeDir, 'NotFound.vue') if (fs.existsSync(notFoundPath)) { options.notFoundPath = notFoundPath } else {