Vue项目开发环境设置favicon
1.将favicon.ico文件存放到项目根路径下;2.配置webpack.dev.conf.js new HtmlWebpackPlugin({ filename: 'index.html', template: 'index.html', favicon: path.resolve('favicon.ico'), inject: true})
·
1.将favicon.ico文件存放到项目根路径下;
2.配置webpack.dev.conf.js
new HtmlWebpackPlugin({
filename: 'index.html',
template: 'index.html',
favicon: path.resolve('favicon.ico'),
inject: true
})
更多推荐




所有评论(0)