Skip to content

d3 is not defined #39

@LB26121

Description

@LB26121

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions