David-Desmaisons / Vue.D3.tree

Vue component to display tree based on D3.js layout.
https://david-desmaisons.github.io/Vue.D3.tree/tree
MIT License
874 stars 136 forks source link

can't access the tree object #52

Closed paohaijiao closed 4 years ago

paohaijiao commented 4 years ago

hi david , i have use he command "npm install vued3tree" and import {tree} from 'vued3tree' in my project(iwant to embed this tree js to my program) but the componnet can't identify the tree , could you help me how to resolve this error ? d3

David-Desmaisons commented 4 years ago

Why do you mean by "can't identify the tree "? What kind of error did you get?

paohaijiao commented 4 years ago

you can see the picture , i have been import the tree from vued3tree, but the error as bel 111 low

David-Desmaisons commented 4 years ago

Try npm install vued3tree again. Make sure it works and that the correspoding folder has been created in the node-modules folder

paohaijiao commented 4 years ago

the vued3tree folder has been exists my project , but it still not work ![Uploading 123.png…]()

paohaijiao commented 4 years ago

resolved , i have been place wrong folder,thanks