While trying to use your package with react, the following error message appears permanently:
Uncaught ReferenceError: d3 is not defined
It doesn't matter how I import d3 or your package, the error always appears.
Which file do I need to import exactly? tidytree/dist/tidytree.min or tidytree/src/main.js ?
So far I import d3 in the same file -> import * as d3 from 'd3';
Packet versions:
- "react": "^16.14.0"
- "d3": "^7.8.4"
- "tidytree": "^0.5.9"
While trying to use your package with react, the following error message appears permanently:
Uncaught ReferenceError: d3 is not definedIt doesn't matter how I import d3 or your package, the error always appears.
Which file do I need to import exactly?
tidytree/dist/tidytree.minortidytree/src/main.js?So far I import d3 in the same file ->
import * as d3 from 'd3';Packet versions: