-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
部署到netlify上暗黑主题刷新页面无法加载相应样式 #5944
Labels
untriaged
need to sort
Comments
ssr的问题,用ClientOnly包裹又行了,这是nuxt3的问题还是naive ui的问题啊? |
应该是naive ui ssr的问题,有时间再研究看看,哎 |
This issue does not have any recent activity. If you are still experiencing similar problems, open a new error, including a minimal copy of the problem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
我尝试在Nuxt3上使用naiveui,我查看样式,他没有加载对应的dark样式,这是我的主要代码,我哪里配置有问题吗?
Steps to reproduce
当我点击切换主题的图标时,或者刷新页面它在本地测试都是正常的,但部署到netlify上,点击切换也正常,不过刷新就不正常了
本地正常
线上不正常
打印出的主题变量name是dark,正常的
Link to minimal reproduction
https://blog.dengsong.asia/article
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: