DEV Community

Discussion on: Create Your Own Vue3 Google Maps Component and Deploy to Mobile with Ionic Framework & Capacitor

Collapse
 
quonn77 profile image
Alessio Iannone

By having added GMap.vue under views folder of the Vue project, for me the problem was to include the GMap by referencing the file adding ./ to the import so
the wrong import was
import GMap from "views/GMap.vue";

The right import is
import GMap from "./views/GMap.vue";

I was used that relative import doesn't need to be referenced with ./
....