Skip to content
This repository was archived by the owner on Sep 5, 2025. It is now read-only.
Discussion options

You must be logged in to vote

GAH!
Ok, for anybody else who gets caught by this schoolboy error... I had
.use(VueGoogleMaps,{load::import.meta.env.VITE_GOOGLE_MAPS_KEY})
Instead of...
.use(VueGoogleMaps,{load:{key:import.meta.env.VITE_GOOGLE_MAPS_KEY}})

EG: The init object where I passed my API key was a string not an object.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by GaiusCoffey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant