Skip to content Skip to sidebar Skip to footer

Vue Import Fails When Importing 'marker-animate-unobtrusive'

I'm working on a small vue project and I'm using marker-animate-unobtrusive library to move markers over the map. The issue here is that when I import this library in one of my pag

Solution 1:

Apparently, this library requires google to be available on window object upon initialization, but it is not there yet. It is possible, that library is imported (included) in your project before google-maps script.
Try changing the order of imports. Make sure that marker-animate-unobtrusive is loaded after google-maps script.


Post a Comment for "Vue Import Fails When Importing 'marker-animate-unobtrusive'"