vue-google-maps
vue-google-maps copied to clipboard
Unable to use map after follow the step
After Following the step I got the error when setup the init in main.ts and I don't know why it happen, I don't understand this error.
Describe the bug
A clear and concise description of what the bug is.
Expected behavior Should be normal not do anything when I was not use GMap or after using Gmap Components that will normal show the map.
Screenshots
Desktop (please complete the following information):
- Browser: Brave
my GitHub project: https://github.com/whitersun/trashTime
The issue is caused by fast-deep-equal. You may want to check https://github.com/fawmi/vue-google-maps/issues/164#issuecomment-1324013605 and https://github.com/fawmi/vue-google-maps/issues/188.
Just include the following in your vite.config.js file:
optimizeDeps: {
include: [
"@fawmi/vue-google-maps",
"fast-deep-equal"
]
}
works for me