From 71a050da126071323f0342ab0edb862416ce0269 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Fri, 9 Dec 2016 13:50:34 +0100 Subject: [PATCH] Fix error.vue layout --- lib/build/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/build/index.js b/lib/build/index.js index 1ddb73bcf2..a28a8e219c 100644 --- a/lib/build/index.js +++ b/lib/build/index.js @@ -208,7 +208,7 @@ function * generateRoutesAndFiles () { templateVars.components.ErrorPage = r(this.srcDir, 'pages/_error.vue') } if (fs.existsSync(join(this.srcDir, 'layouts', 'error.vue'))) { - templateVars.components.ErrorPage = r(this.dir, 'layouts/error.vue') + templateVars.components.ErrorPage = r(this.srcDir, 'layouts/error.vue') } let moveTemplates = templatesFiles.map((file) => { return readFile(r(__dirname, '..', 'app', file), 'utf8')