-
-
Notifications
You must be signed in to change notification settings - Fork 46.7k
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
5.0.0-alpha.2 样式丢失 vite react #37991
Comments
补充: 应该是浏览器兼容性问题 ,edge 106.0.1370.37 版本能正常显示样式,chrome 87.0.4280.66不显示样式 |
这个之前有考虑过是否要自动降级,但是想到自动降级会导致在不同游览器里 selector 权重不一致。所以这边就没有处理。还是按照 last 2 version 的规则来了。 |
这个太激进了吧,支持现代 JavaScript 语法的浏览器都不能运行了, chrome版本升的那么快,用使用率应该会更好吧 |
或者有什么方式 能支持到 Chrome >=87 |
This was referenced Nov 18, 2022
This was referenced Dec 23, 2022
This was referenced Jan 3, 2023
This was referenced Jan 16, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reproduction link
https://github.com/ALongLi/vitejs-vite-tdbz72
Steps to reproduce
运行直接看到
What is expected?
样式正常
What is actually happening?
样式丢失
在stackblitz 样式正常显示, 在 本地 win10 机器中运行后样式丢失
The text was updated successfully, but these errors were encountered: