Browse Source

添加网站图标

tbphp 2 years ago
parent
commit
97ef9af320
3 changed files with 1 additions and 0 deletions
  1. BIN
      favicon.ico
  2. 1 0
      vue/build/webpack.dev.conf.js
  3. BIN
      vue/src/assets/logo.png

BIN
favicon.ico


+ 1 - 0
vue/build/webpack.dev.conf.js

@@ -26,6 +26,7 @@ module.exports = merge(baseWebpackConfig, {
     new webpack.NoEmitOnErrorsPlugin(),
     // https://github.com/ampedandwired/html-webpack-plugin
     new HtmlWebpackPlugin({
+      favicon: '../favicon.ico',
       filename: 'index.html',
       template: 'index.html',
       inject: true

BIN
vue/src/assets/logo.png