ng2-tree icon indicating copy to clipboard operation
ng2-tree copied to clipboard

Facing Exactly the same problem, in Angular2, can someone help in fixing it.

Open xdw898618984 opened this issue 5 years ago • 2 comments

Can't bind to 'tree' since it isn't a known property of 'tree'. (" <tree [ERROR ->][tree]="tree"> "): TreeViewComponent@1:10 'tree' is not a known element:

Originally posted by @ghost in https://github.com/valor-software/ng2-tree/issues/13#issuecomment-259887947

xdw898618984 avatar Oct 24 '18 03:10 xdw898618984

Did you import this ng2-tree in your app.module.ts ? I got this error when i forgot to add the import in that file.

vinayVarshney avatar Mar 02 '19 10:03 vinayVarshney

You can also import the tree into the module of the component you want to use. In this case, you would remove it from the application module.

Imaginativeone avatar Mar 18 '19 17:03 Imaginativeone