vue init webpack-simple 和安装elementui后 npm run dev报错

ERROR in ./node_modules/element-ui/lib/theme-chalk/fonts/element-icons.ttf

往webpack.config.js里加入{ test: /\.(eot|svg|ttf|woff|woff2)$/, loader: 'file-loader' }

你可能感兴趣的:(vue笔记)