-
Notifications
You must be signed in to change notification settings - Fork 999
Open
Description
After yarn install datamaps, how do I actually include the library in my .js class?
import { DataMap } from "datamaps";
// require('datamaps'); <-- doesn't work either
var map = new DataMap({element: document.getElementById('container')});throws
ReferenceError: DataMap is not defined
I assume this is something simple, but I'm stuck. Thanks.
Metadata
Metadata
Assignees
Labels
No labels