Skip to content

Commit cb53ba8

Browse files
committed
refine code
1 parent 805ab1d commit cb53ba8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ module.exports = {
88
index: path.resolve(__dirname, '../dist/index.html'),
99
assetsRoot: path.resolve(__dirname, '../dist'),
1010
assetsSubDirectory: 'static',
11-
assetsPublicPath: '/',
12-
staticPath:'./',
11+
assetsPublicPath: './', //请根据自己路径配置更改
12+
staticPath:'./static/', //请根据自己路径配置更改
1313
productionSourceMap: true,
1414
// Gzip off by default as many popular static hosts such as
1515
// Surge or Netlify already gzip all static assets for you.

0 commit comments

Comments
 (0)