You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to add this lib to my app with SSR.
I've implemented logic that doesn't init the map on the server but unfortunately there is a problem during import: import {load, Map, Marker} from 'vue-google-maps'
ReferenceError: window is not defined
Any help or fix would be greatly appreciated:)
The text was updated successfully, but these errors were encountered:
Is it possible to not load the library at all during SSR? Pretty much everything in there expects a browser environment. If not, what stubs do you need for SSR?
I'm trying to add this lib to my app with SSR.
I've implemented logic that doesn't init the map on the server but unfortunately there is a problem during import:
import {load, Map, Marker} from 'vue-google-maps'
Any help or fix would be greatly appreciated:)
The text was updated successfully, but these errors were encountered: