解决 vue 使用 element 时报错ERROR in ./node_modules/element-ui/lib/theme-chalk/fonts/element-icons.ttf
是因为字体文件没法引入的原因,只需要修改下webpack config的file-loader
{ test: /\.(eot|svg|ttf|woff|woff2)(\?\S*)?$/, loader: 'file-loader' }
标签:vue,loader,报错,file,element,ttf From: https://blog.51cto.com/u_12895411/8062049