diff --git a/template/config/index.js b/template/config/index.js index 196da1f..83ad165 100644 --- a/template/config/index.js +++ b/template/config/index.js @@ -7,7 +7,7 @@ module.exports = { index: path.resolve(__dirname, '../dist/index.html'), assetsRoot: path.resolve(__dirname, '../dist'), assetsSubDirectory: 'static', - assetsPublicPath: '/', + assetsPublicPath: './', productionSourceMap: true, // Gzip off by default as many popular static hosts such as // Surge or Netlify already gzip all static assets for you. diff --git a/template/index.html b/template/index.html index 7a7c6ad..b7a9859 100644 --- a/template/index.html +++ b/template/index.html @@ -7,7 +7,7 @@ {{ name }} - +