Open ShadowsBeneaths opened 5 years ago
Temporary work around, copy and paste the entire node_modules/vue2-google-maps under clientapp/components
Not the best way to approach this, but that's the only thing I found. If anyone knows how to fix the above mentioned issue, please let me know!
Thanks in advance!
Hi,
Your imports seems wrong. Otherwise, since the module from google-map might be already pre-compiled (who knows), then you should add it within the vendor configuration within webpack config file.
Please look and try to add it like the other vendors vendor: ['bootstrap', 'bootstrap/dist/css/bootstrap.css', 'event-source-polyfill', 'vue', 'vuex', 'axios', 'vue-router', 'jquery']
. The issue might be resolved by doing that.
Note: I haven't tried the plugin since I never used it, but if you have a simple sample of how you're integrating it (source code) it would help to understand what was your issue.
I am currently experiencing an issue with this setup. I am trying to using vue2-google-maps to use goolemaps auto-fill as well as maps. unfortunately, when I include the npm package as the documentation says and launch the application, I am getting the following error (one of the five error I am getting (all the same)):
At first I though it was something related to the webpack, since it is unable to load the .vue files that are in node_modules. I still am unable to figure this error out. I tried a normal vue init webpack project and it worked fine. When adding it to my main project (vuejs aspnet starter), the project no longer work as expected.
Does anyone have an idea of what could be happening ? I have attached the test project in here.
https://github.com/ShadowsBeneaths/Google-maps-vuejs-aspnet