=====================================================
- vue中添加favicon
找到build下的 webpack.dev.conf.js 或 webpack.prod.conf.js 文件,在plugins:[]下加入:
new HtmlWebpackPlugin({ filename: 'index.html', template: 'index.html', inject: true, favicon: path.resolve('favicon.ico') }),