diff --git a/build/logo.png b/build/logo.png deleted file mode 100644 index f3d2503f..00000000 Binary files a/build/logo.png and /dev/null differ diff --git a/build/webpack.dev.conf.js b/build/webpack.dev.conf.js index 43901e5b..0993ff4f 100644 --- a/build/webpack.dev.conf.js +++ b/build/webpack.dev.conf.js @@ -56,7 +56,8 @@ const devWebpackConfig = merge(baseWebpackConfig, { inject: true, favicon: resolve('favicon.ico'), title: 'vue-element-admin', - path: config.dev.assetsPublicPath + config.dev.assetsSubDirectory + path: config.dev.assetsPublicPath + config.dev.assetsSubDirectory, + pwaPath: config.dev.assetsPublicPath }), ] }) diff --git a/build/webpack.prod.conf.js b/build/webpack.prod.conf.js index aa7ebfb5..42725f79 100644 --- a/build/webpack.prod.conf.js +++ b/build/webpack.prod.conf.js @@ -152,6 +152,10 @@ const webpackConfig = merge(baseWebpackConfig, { { from: path.resolve(__dirname, '../manifest.json'), to: config.build.assetsSubDirectory + }, + { + from: path.resolve(__dirname, '../logo.png'), + to: config.build.assetsSubDirectory } ]) ] diff --git a/index.html b/index.html index 859c27d9..663a04a9 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - + vue-element-admin @@ -15,7 +15,7 @@