gcz 2 年之前
父節點
當前提交
2544f2d3e1
共有 3 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      build/webpack.dev.conf.js
  2. 1 0
      build/webpack.prod.conf.js
  3. 二進制
      logo.png

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

@@ -55,6 +55,7 @@ const devWebpackConfig = merge(baseWebpackConfig, {
     new HtmlWebpackPlugin({
       filename: 'index.html',
       template: 'index.html',
+      favicon: './logo.png',
       inject: true
     }),
     // copy custom static assets

+ 1 - 0
build/webpack.prod.conf.js

@@ -63,6 +63,7 @@ const webpackConfig = merge(baseWebpackConfig, {
     new HtmlWebpackPlugin({
       filename: config.build.index,
       template: 'index.html',
+      favicon: './logo.png',
       inject: true,
       minify: {
         removeComments: true,

二進制
logo.png