vue-google-maps
vue-google-maps copied to clipboard
Standalone version gives out "Uncaught ReferenceError: require is not defined"
Hi,
First of all great work with this module!
Tried the standalone version and got this error: Uncaught ReferenceError: require is not defined
.
Do you have any more information than this ?
Q and Lodash are available before including a script tag pointing to file from vue-google-maps/dist/vue-google-maps.js. Unfortunately can't tell which line and column the error is at since the file indicated is minified. Does this help?
Thank you for the additional information
I searched this file https://github.com/GuillaumeLeclerc/vue-google-maps/blob/master/dist/vue-google-maps.js
And there is no require
in the whole file. Where did you got your vue-google-maps.js
?
@GuillaumeLeclerc how did you get the package on CDNjs? I think they got the wrong file on the CDN. (Should be dist/vue-google-maps.js)