Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

项目部署,google字体fonts,导致加载慢 #113

Open
huihuawu opened this issue May 17, 2023 · 2 comments
Open

项目部署,google字体fonts,导致加载慢 #113

huihuawu opened this issue May 17, 2023 · 2 comments

Comments

@huihuawu
Copy link

大大,项目部署完成后,看到项目使用 上了google的字体库,导致有时候加载不出来导致打开慢,但有时候又可以加载出来,在代码里面搜索这个字体库却没有搜索的,请问我需要怎么可以把这个字体库给删除掉?
img

@barry200890
Copy link

字体库建议还是使用本地引用或者国内cdn引入

@cdacai
Copy link
Contributor

cdacai commented Dec 4, 2024

临时构建的话要到node_modules包里去注释掉semantic-ui-css里的有个min.css文件的对应代码,长远的话要把这个文件夹提出来到根目录,改下引用路径再修改。不过这样实现起来不是很优雅,我的就是这样实现的。我的网址caixiaohu.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants