我已经开始在流星项目中使用glyphicons与twbs:boostrap软件包。自从我开始使用他们,我一直在接受我的控制台以下警告:流星:未能解码下载的字体和OTS解析错误 - 无效版本标记
Failed to decode downloaded font: http://localhost:3000/fonts/glyphicons-halflings-regular.woff2
OTS parsing error: invalid version tag
Failed to decode downloaded font: http://localhost:3000/fonts/glyphicons-halflings-regular.woff
OTS parsing error: invalid version tag
Failed to decode downloaded font: http://localhost:3000/fonts/glyphicons-halflings-regular.ttf
OTS parsing error: invalid version tag
是什么原因造成这一点,我怎么能抑制这些警告或解决什么问题? glyphicons工作得很好,但看到警告总是很痛苦。
如何在我的CSS文件中声明它们以及我可以在哪里下载glyphicons? –
只需将它们从bootstrap/fonts文件夹复制粘贴到public/fonts文件夹 –