Closed geneowak closed 7 months ago
@geneowak Did you find a workaround for this?
@Peque Looking at the code of that version it seems the v3 version uses GmapVuePlugin
instead of GmapVue
and when you look here you can see the names of the new components but I've not really got to try them out because I don't know if things will change or not because they are not in the docs.
In the meantime I've been looking at an alternative package, the package was last updated (at the time of writing) updated a year ago but you can check out their github here... This package seems to be in active development so if @diegoazh, the author, clarifies which docs the v3 version should use, then I'd be happy to use this one.
I didn't have the time to update the new documentation yet. If you check the source code, it is written in typescript and I tried to add jsdoc comments to all public functions to document them. I trying to read and debug the bugs reported but I only have a few hours per week, almost for now. Please remember that PRs are welcome and also help to build the new documentation page. I apologize for this.
Hello @Peque and @geneowak, could you test our new version v2.0.0? also, you can find the main points on our new documentation site.
New documentation of the plugin https://diegoazh.github.io/gmap-vue/docs/vue-3-version/
I'm going to close this issue. Feel free to re-open it if something new happens.
@diegoazh we very much appreciate all your efforts and are very grateful for your hard work. I will definitely be contributing once I get comfortable with typescript. I will be testing out the new docs soon and giving you feedback.
Describe the bug
I'm trying to use the package in a laravel 10 app with vue 3 as my front end and vite as my bundler but I can't get any of the examples in the docs to work.
To reproduce
Steps to reproduce the behavior:
npm install @gmap-vue/v3
import GmapVue from 'gmap-vue';
npm run dev
Expected behavior
It should work as specified in the documentation
Current behavior
It fails to import the package components
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information)
Smartphone (please complete the following information)
Additional context
I'm using vite with the following configuration
PS: The same error happens in any vue 3 project so it's not a laravel issue but an issue with the v3 version of the package. Checking through the code it seems the v3 version of the package doesn't export the functions mentioned in the documentation.
Versions
Package manager
Plugin version