提交 c3dd0b15 编写于 作者: J Jay Linski 提交者: Evan You

fix: correctly resolve not-found path (#90)

上级 24fff7b2
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册