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

tester · February 24, 2018 · Last by 0x88 replied at February 28, 2018 · 2367 hits

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

部分电脑上没有 “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 条回复 时间 点赞

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

陈恒捷 回复

自己搞个 npm 源嘛。

需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up