I\'ve been trying to initialize a Google map on my vue.js project while including the script :
Best and simple way to integrate Google Maps to Vue is use npm's libs. You need to use vue-google-maps
npm install vue2-google-maps
then,
import Vue from 'vue'
import * as VueGoogleMaps from 'vue2-google-maps'
Vue.use(VueGoogleMaps, {
load: {
key: 'YOUR_API_TOKEN',
},
})
Just simple paste code below: