These relative modules were not found: * ../assets/fonts/glyphicons-halflings-regular.eot in ./node

使用vue使用脚手架引入bootstrap遇到Can’t resolve '…/fonts/glyphicons-halflings-regular.woff2问题,查看对应目录文件是存在的,所以不是缺失问题,应该是路径问题,css文件中的默认写法,只适用于传统的web服务器,在node这里不行了,所以我们打开bootstrap.css找到缺失的文件路径前面font的引用改一下,把 …/font改为 /font,也就是去掉前面的两点,再重新npn run dev,成功构建!