From 3d35fe7dbdd04d78e6f25cb6a95fece29e22ab3e Mon Sep 17 00:00:00 2001 From: guilhermefelipesilva Date: Wed, 15 Feb 2017 17:59:20 -0200 Subject: [PATCH] Opening index.html works with file:// --- template/config/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/config/index.js b/template/config/index.js index 196da1fa7d..83ad1652fa 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.