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

目前使用的注入 css 的方式在 ssr 项目组存在样式延迟问题 #3

Open
yinxulai opened this issue Feb 24, 2020 · 0 comments

Comments

@yinxulai
Copy link
Owner

SSR 项目,页面被提前计算好并发送给浏览器,但是 css 并没有被预处理到 html 上、导致用户会先看到一个没有样式的页面、然后在短暂的时间后,css 再被挂载到 html 上,页面才会正常显示,这是个问题,要解决这个问题、也许使用 require(css) 交给使用者去决定使用方式才是正确的

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

1 participant