vue-cli以webpack-simple+elementui配置

vue開發中,使用vue-cli腳手架快速搭建框架,以後引入elementui進行開發,在按照官網指示引入elementui後,會報錯,關於font的錯誤。 此時須要在webpack.config.js中更改相關配置。 在rules中加入如下代碼css { test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/, loader: 'url-loader', options:
相關文章
相關標籤/搜索