async-google-maps
async-google-maps copied to clipboard
Es6 import syntax?
Hello Zach,
I added the package through npm (with --save
flag) and then did this wherever I wanted to use it:
import {MapLoader} from 'async-google-maps';
I get an error, how can I use it with ES6 syntax? (I also use WebPack and the Babel loader)
Thank you.