Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nuxt3 Production Fix #14

Closed
vaniaalex opened this issue Nov 4, 2022 · 2 comments
Closed

Nuxt3 Production Fix #14

vaniaalex opened this issue Nov 4, 2022 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@vaniaalex
Copy link

Hello,

So I've tested on the nuxt3 website this module.

In the development environment the instruction you have right now in Readme works well, but when you try to build or generate the project it gives an error for import from @googlemaps/markerckuster.

In order to fix that you need to add another module in transpile array to look like this
build: { transpile: [ "vue-google-maps-community-fork", "@googlemaps/markerclusterer", ], },

Here is the link for the Nuxt3 docs, where it explains why

[https://v3.nuxtjs.org/guide/concepts/esm/#transpiling-libraries](Nuxt3 Docs Transpile Libraries)

Hope you update the Readme file.
Thanks!

NathanAP added a commit that referenced this issue Nov 4, 2022
@NathanAP
Copy link
Owner

NathanAP commented Nov 4, 2022

Hello! Thank you so much for pointing it out.

I just updated the Readme file, can you check if it is correct?
I will update the docs as well as soon as I can.

Edit: also, sorry for being 4 hours late.
Edit 2: docs are updated as well.

@NathanAP NathanAP self-assigned this Nov 4, 2022
@NathanAP NathanAP added the documentation Improvements or additions to documentation label Nov 4, 2022
@vaniaalex
Copy link
Author

Looks great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants