ReferenceError: google is not defined
at VueComponent.mounted (Simulatelocation.vue:19)
at callHook (vue.esm.js:2868)
at Object.insert (vue.esm.js:4045)
at invokeInsertHook (vue.esm.js:5799)
at VueComponent.patch [as patch] (vue.esm.js:6018)
at VueComponent.Vue._update (vue.esm.js:2623)
at VueComponent.updateComponent (vue.esm.js:2741)
at Watcher.get (vue.esm.js:3084)
at Watcher.run (vue.esm.js:3161)
at flushSchedulerQueue (vue.esm.js:2927)
I have imported the API with key in my index.html so that it is globally accessible. Can some one please help me out, what I am missing or is there something wrongly written
trying to import google map in my vue component using this particular code.
and getting the following errors:
I have imported the API with key in my index.html so that it is globally accessible. Can some one please help me out, what I am missing or is there something wrongly written