diff --git a/.electron-vue/webpack.renderer.config.js b/.electron-vue/webpack.renderer.config.js index b1d8d50a..a72925f0 100755 --- a/.electron-vue/webpack.renderer.config.js +++ b/.electron-vue/webpack.renderer.config.js @@ -93,6 +93,7 @@ let rendererConfig = { new ExtractTextPlugin('styles.css'), new HtmlWebpackPlugin({ filename: 'index.html', + favicon: 'src/renderer/assets/favicon.ico', template: path.resolve(__dirname, '../src/index.ejs'), minify: { collapseWhitespace: true, diff --git a/.electron-vue/webpack.web.config.js b/.electron-vue/webpack.web.config.js index 9d4d5879..e594ff07 100755 --- a/.electron-vue/webpack.web.config.js +++ b/.electron-vue/webpack.web.config.js @@ -79,7 +79,8 @@ let webConfig = { removeAttributeQuotes: true, removeComments: true }, - nodeModules: false + nodeModules: false, + favicon: 'src/renderer/assets/favicon.ico', }), new webpack.DefinePlugin({ 'process.env.IS_WEB': 'true' diff --git a/src/renderer/assets/favicon.ico b/src/renderer/assets/favicon.ico new file mode 100644 index 00000000..5764886d Binary files /dev/null and b/src/renderer/assets/favicon.ico differ diff --git a/src/renderer/components/LoginPage.vue b/src/renderer/components/LoginPage.vue index 9248bf47..b9c04550 100755 --- a/src/renderer/components/LoginPage.vue +++ b/src/renderer/components/LoginPage.vue @@ -5,7 +5,7 @@
-

后台管理

+

海风小店