diff --git a/config/index.js b/config/index.js index 24fbf3792c69f0756ecd9276bbbc84100760960e..eb91a841f558ff669d2b653a8346ff71473bc0b6 100644 --- a/config/index.js +++ b/config/index.js @@ -8,8 +8,8 @@ module.exports = { index: path.resolve(__dirname, '../dist/index.html'), assetsRoot: path.resolve(__dirname, '../dist'), assetsSubDirectory: 'static', - assetsPublicPath: '/', - staticPath:'./', + assetsPublicPath: './', //è¯·æ ¹æ®è‡ªå·±è·¯å¾„é…置更改 + staticPath:'./static/', //è¯·æ ¹æ®è‡ªå·±è·¯å¾„é…置更改 productionSourceMap: true, // Gzip off by default as many popular static hosts such as // Surge or Netlify already gzip all static assets for you.