-
Notifications
You must be signed in to change notification settings - Fork 211
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
The component does not work anymore on server-side rendering #195
Labels
Comments
I also can't run my Nuxt project because of this server-side issue |
I also want to use this package in my nuxt project. Which version supports server-side rendering? |
I use version 3.5.4, if I remember correctly, 4.x.x do not support ssr |
Sorry folks. I've been busy recently and I'll take a look at this when I get time. Before that, you can stick to v3 for now. |
~4.1.0 works |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This concern nuxt.js, the server is complaining about "document is not defined" if we register the Icon component in a plugin as a global component.
the reason that I identify is that the distribution now ship a "precompiled"
Icon.js
file instead ofIcon.vue
file and the Icon.js file has referenced to document.Is it possible to ship both files ? So with nuxt.js we can, use it like that in a plugin :
The text was updated successfully, but these errors were encountered: