I’m a D3 beginner and I want to use this d3 element into my Vue.js component. The problem here is that the periodic rotation I need does not work. It starts looping errors of null on the element projection that is globally defined. It seems that the first time works but in the second one the object is no longer
Tag: external
Exclude var and json file from webpack build
I’m trying to exclude but retain external reference to a few JSON files from a webpack build. I’ve modified the webpack.config.js to include: This solved some previous errors, but now it seems that the ‘font’ var is being considered undefined. The error is referring to this line in the build, where webpack has exported the ‘font’ var as a module.export: