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
For some reason, the provide/inject of the Map seems to be broken in Nuxt 3. It might be, because provide is called in a onMounted-hook. This causes (for example) a VControlFullscreen inserted into the VMap to produce the Error: Could not resolve Map error message when trying to inject the Map.
A temporary fix for me is to put a ref on the VMap and load the components once the ref is initialized, like so:
For some reason, the provide/inject of the Map seems to be broken in Nuxt 3. It might be, because
provide
is called in aonMounted
-hook. This causes (for example) aVControlFullscreen
inserted into theVMap
to produce theError: Could not resolve Map
error message when trying to inject the Map.A temporary fix for me is to put a
ref
on theVMap
and load the components once the ref is initialized, like so:The text was updated successfully, but these errors were encountered: