From 01704491672ebaf3f8ae66165d3f98ff8f368b11 Mon Sep 17 00:00:00 2001 From: Michael Daffin Date: Mon, 23 Apr 2018 21:08:15 +0100 Subject: [PATCH] fix: renames index.js to enhanceApp.js (#226) --- lib/prepare.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/prepare.js b/lib/prepare.js index 9ce48289..d1a193c4 100644 --- a/lib/prepare.js +++ b/lib/prepare.js @@ -175,7 +175,7 @@ async function resolveOptions (sourceDir) { options.notFoundPath = path.resolve(__dirname, 'default-theme/NotFound.vue') } - const themeEnhanceAppPath = path.resolve(themeDir, 'index.js') + const themeEnhanceAppPath = path.resolve(themeDir, 'enhanceApp.js') if (fs.existsSync(themeEnhanceAppPath)) { options.themeEnhanceAppPath = themeEnhanceAppPath } -- GitLab