Commit c482cd0115410c71941ca0074d05e3a82e094674
1 parent
3e8809f2
测试build
Showing
2 changed files
with
2 additions
and
2 deletions
.env.production
vue.config.js
@@ -21,7 +21,7 @@ module.exports = { | @@ -21,7 +21,7 @@ module.exports = { | ||
21 | * In most cases please use '/' !!! | 21 | * In most cases please use '/' !!! |
22 | * Detail: https://cli.vuejs.org/config/#publicpath | 22 | * Detail: https://cli.vuejs.org/config/#publicpath |
23 | */ | 23 | */ |
24 | - publicPath: '/', | 24 | + publicPath: './', |
25 | outputDir: 'dist', | 25 | outputDir: 'dist', |
26 | assetsDir: 'static', | 26 | assetsDir: 'static', |
27 | lintOnSave: process.env.NODE_ENV === 'development', | 27 | lintOnSave: process.env.NODE_ENV === 'development', |