Vue: 解决打包后element-ui图标字体不显示的问题
在build/utils.js下找到if (options.extract) {return ExtractTextPlugin.extract({use: loaders,fallback: 'vue-style-loader',publicPath: '../../'})} else {return ['vue-style-lo...
·
在build/utils.js下找到
if (options.extract) {
return ExtractTextPlugin.extract({
use: loaders,
fallback: 'vue-style-loader',
publicPath: '../../'
})
} else {
return ['vue-style-loader'].concat(loaders)
}
加上
publicPath: '../../'
更多推荐



所有评论(0)