STF STF 上的英文、数字在部分电脑上显示不出来的解决办法

tester · 2018年02月24日 · 最后由 0x88 回复于 2018年02月28日 · 1507 次阅读

英文、数字显示不出来的原因:

部分电脑上没有 “Lato” 字体,需要下载。但是每台电脑都下载太麻烦了,就直接把这个字体的有关代码去掉。

在以下文件中,去掉 font-family 的"Lato"字体

stf/node_modules/faker/locale/.publish/styles/site.darkly.css
stf/node_modules/faker/locale/.publish/styles/site.flatly.css
stf/node_modules/faker/locale/.publish/styles/site.superhero.css
stf/node_modules/faker/build/.publish/styles/site.flatly.css
stf/node_modules/faker/build/.publish/styles/site.superhero.css
stf/node_modules/faker/doc/styles/site.superhero.css
stf/node_modules/faker/build/.publish/styles/site.darkly.css
stf/node_modules/faker/doc/styles/site.darkly.css
stf/node_modules/faker/doc/styles/site.flatly.css
stf/res/web_modules/nine-bootstrap/nine-bootstrap.scss

如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
共收到 2 条回复 时间 点赞
tester STF 在 chrome 内核的浏览器中无法显示字符 中提及了此贴 02月24日 10:03

要改 node_modules ,感觉有点费劲,重新 npm install 就被重置了。
能自己写 css 覆盖默认的不?

陈恒捷 回复

自己搞个 npm 源嘛。

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册