-
Notifications
You must be signed in to change notification settings - Fork 56
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
Does the library supports server side rendering? #188
Comments
I'd say SSR was never a focus for this library and in any case you can only load the Google script on the client as far as I can tell. I'd say wrap your map with an async component or use whatever mechanism your framework provides to ensure your map is only loaded client side. |
Hi As a workaround you can add this to your
I'll hopefully release a fix for this in the coming days. |
Is there an update on this issue? I'm seeing the same problem and would like to avoid the workarround if possible. |
Fixed in |
I'm trying to use it inside Vue3 SSR with inertia but I'm getting the following error on build
this error only happens when building the application for SSR.
The text was updated successfully, but these errors were encountered: