放在项目的static文件夹下:
static
修改build/webpack.dev.conf.js,找到new HtmlWebpackPlugin配置项,增加favicon配置:
build/webpack.dev.conf.js
new HtmlWebpackPlugin
修改build/webpack.prod.conf.js,具体修改同上。
build/webpack.prod.conf.js