Skip to content

Commit

Permalink
fix: renames index.js to enhanceApp.js (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdaffin authored and yyx990803 committed Apr 23, 2018
1 parent 5157c6f commit 0170449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/prepare.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 0170449

Please sign in to comment.