From cb53ba891c10aaf688b6a02e96fe3acbdfb63e83 Mon Sep 17 00:00:00 2001 From: Pan Date: Mon, 26 Jun 2017 17:16:05 +0800 Subject: [PATCH] refine code --- config/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/index.js b/config/index.js index 24fbf379..eb91a841 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.