diff --git a/build/webpack.prod.conf.js b/build/webpack.prod.conf.js index 5d370c62..ce00155c 100644 --- a/build/webpack.prod.conf.js +++ b/build/webpack.prod.conf.js @@ -70,6 +70,7 @@ const webpackConfig = merge(baseWebpackConfig, { favicon: resolve('favicon.ico'), title: 'vue-element-admin', path: config.build.assetsPublicPath + config.build.assetsSubDirectory, + pwaPath: config.build.assetsPublicPath, minify: { removeComments: true, collapseWhitespace: true, diff --git a/index.html b/index.html index 663a04a9..d39ecce9 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - + vue-element-admin @@ -15,7 +15,7 @@