From 6a5be79beafc865b63ec967c20ab85b63e7858f3 Mon Sep 17 00:00:00 2001 From: "lei.jiang" Date: Wed, 27 Jun 2018 22:32:03 +0800 Subject: [PATCH] update --- build/webpack.prod.conf.js | 1 + index.html | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) 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 @@