vue打包后如下element图标不显示
控制台报错
显示没有找到element-icons资源
解决办法:
在build文件下的utils.js文件中添加这一句publicPath:‘…/…/’
找到我如下代码中去添加
// Extract CSS when that option is specified
// (which is the case during production build)
if (options.extract) {
return ExtractTextPlugin.extract({
use: loaders,
fallback: