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

Vite 2.5.4 compatibility issue #797

Open
prosohail51214 opened this issue Feb 14, 2024 · 2 comments
Open

Vite 2.5.4 compatibility issue #797

prosohail51214 opened this issue Feb 14, 2024 · 2 comments

Comments

@prosohail51214
Copy link

Hi, migrated my webpack based vue 2.6 project to Vite (2.5.4) with vite-plugin-vue.
now I'm having issue with dynamic import of "infoWindow.vue" file, console error says "dynamic import /node_modules/vue2-google-maps/components/infoWindow.vue is not supported"

is there any workaround?

@jonyedu
Copy link

jonyedu commented Mar 13, 2024

@prosohail51214
Hello, were you able to solve it?

@JJ995
Copy link

JJ995 commented Oct 8, 2024

Hi! I encountered the same issue(s) after migrating a project which heavily relies on this package from Webpack to Vite. To address this, I forked the repo locally and converted it to ESM. It is now fully compatible with Vite (5 in my case). @xkjyeah, would you be interested in a pull request, or should I publish it as a new package (vue2-google-maps-esm), of course crediting the original?

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

No branches or pull requests

3 participants