on-internet
← Community

'mat-tree' is not a known element:

Stack Overflow ·

I get and error when I try to add the expmle tree of material.angular ERROR in src/app/features/itemmonitor/data-options-tree/data-options-tree.component.html:1:1 - error NG8001: 'mat-tree' is not a known element: 1. If 'mat-tree' is an Angular component, then verify that it is part of this module. 2. If 'mat-tree' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. data-options-tree.component.spec.ts <mat-tree> <mat-tree-node> parent node </mat-tree-node> <mat-tree-node> -- child node1 </mat-tree-node> <mat-tree-node> --

Comments

Sign in or sign up to comment and upvote.

No comments yet.