这个是项目结构,使用 vue build 之后做网站请求,发现 woff 字体无法获取,调试发现:下面是打包后浏览器报错的问题路径dist ├── index.html └── static ├── fonts├── css ├── img └── js真实的路径应该是解决之道:webpack 配置问题在 build/webpack.prod.conf.js 中 extract :true 改为 fasle即可。拓展地址:https://github.com/iview/iview/issues/515