You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)):
ERROR in .//vue2-google-maps/dist/components/infoWindow.vue
Module parse failed: F:\location\projectFolder\ProjectName\node_modules\vue2-google-maps\dist\components\infoWindow.vue Unexpected token (3:0)
You may need an appropriate loader to handle this file type.
| /* vim: set softtabstop=2 shiftwidth=2 expandtab : */
|
|
|
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.
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)):
The text was updated successfully, but these errors were encountered: