I am having a lot of trouble trying to setup mapd charting with Vue.js. I am trying to import in mapdc, like they do in the react tweetmap project from the github repository.
import * as dc from "mapd-charting";
after installing mapd-charting through the npm https://www.npmjs.com/package/mapd-charting
Here is the error that it is giving me.
error in ./node_modules/@mapd/mapdc/src/index.js
Module parse failed: Unexpected token (11:9) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
export * as d3 from "d3" // eslint-disable-line | export * from "./core/core" | export * from "./core/core-async"
I see that this was also a github issue posted 6 months back but never resolved. If anyone has any idea how to fix this issue or knows how to import and use MapD charting properly, I would greatly appreciate it.
Please sign in to leave a comment.