Closed einnar82 closed 6 years ago
I already solved the issue :)
`new Vue({ el: '#foo', data: {
},
created() {
const createScript = document.createElement('script');
createScript.setAttribute('src',https://maps.googleapis.com/maps/api/js?key=${this.apiKeys.google}
);
createScript.setAttribute('async', '');
createScript.setAttribute('defer', '');
document.body.appendChild(createScript);
}
})`
How to implement Gmaps in webpack and vue?