解决 vue 使用 element 时报错ERROR in ./node_modules/element-ui/lib/theme-chalk/fonts/element-icons.ttf 在 webpack.config.js 中加入这个依赖 { test: /.(eot|svg|ttf|woff|woff2)(?S*)?$/, loader: 'file-loader' }