We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f431e6 commit ced7f90Copy full SHA for ced7f90
template/build/config.js
@@ -6,7 +6,7 @@ module.exports = {
6
title: '{{name}}',
7
// when you use electron please set to relative path like ./
8
// otherwise only set to absolute path when you're using history mode
9
- publicPath: './',
+ publicPath: '{{#if electron}}.{{/if}}/',
10
// add these dependencies to a standalone vendor bundle
11
vendor: Object.keys(pkg.dependencies),
12
// disable babelrc by default
0 commit comments