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
Is your feature request related to a problem? Please describe.
I want to use this feature with https://github.com/vue-leaflet/Vue2Leaflet.
The problem is that this imports Leaflet with depends on window beeing pressent (even when only importing it)
Describe the solution you'd like
Have an option for a folder clientOnly: true if this is set on serverside only a dummy container is loaded.
// In productionconstdummy={render:()=>null}// In devconstdummy={render:(h)=>h('You have to wrap the components inside the client-only component')}
Describe alternatives you've considered
Currently I'm useing the vuetify loader with custim components that I generate from the https://github.com/vue-leaflet/Vue2Leaflet file structure.
Additional context
User has to additionaly wrap the components in a client-only
The text was updated successfully, but these errors were encountered:
I managed to get around this by using the ignore option.
Name your component that is client only something like component.client.vue and in the config put
Is your feature request related to a problem? Please describe.
I want to use this feature with https://github.com/vue-leaflet/Vue2Leaflet.
The problem is that this imports Leaflet with depends on
window
beeing pressent (even when only importing it)Describe the solution you'd like
Have an option for a folder
clientOnly: true
if this is set on serverside only a dummy container is loaded.Describe alternatives you've considered
Currently I'm useing the vuetify loader with custim components that I generate from the https://github.com/vue-leaflet/Vue2Leaflet file structure.
Additional context
User has to additionaly wrap the components in a
client-only
The text was updated successfully, but these errors were encountered: