-
Notifications
You must be signed in to change notification settings - Fork 577
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
icons-vue: ShadowRoot is not defined in SSR mode #597
Comments
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
升级到 v7.0.0 后,在 Nuxt 3 中使用,出现如上错误。
关键代码应该是在
inShadow
中使用的instanceOf ShadowRoot
,只需要做成ShadowRoot && xxx instanceOf ShadowRoot
即可。cc @tangjinzhou
The text was updated successfully, but these errors were encountered: