vue-google-maps icon indicating copy to clipboard operation
vue-google-maps copied to clipboard

Unable to use map after follow the step

Open whitersun opened this issue 2 years ago • 2 comments

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. image

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 image image

Desktop (please complete the following information):

  • Browser: Brave

my GitHub project: https://github.com/whitersun/trashTime

whitersun avatar Jun 23 '23 19:06 whitersun

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"
    ]
}

starkfire avatar Jul 06 '23 01:07 starkfire

works for me

jtsaich avatar Nov 03 '23 17:11 jtsaich