Tepmlate Parse Error: 'mat-accordian' is not a known element
See original GitHub issueBug, feature request, or proposal:
Bug
What is the expected behavior?
mat-accordian should have been imported automatically when i have imported MatExpansionModule
What is the current behavior?
Gives the error
What are the steps to reproduce?
Providing a StackBlitz/Plunker (or similar) is the best way to get the team to see your issue.
Plunker starter (using on @master
): https://goo.gl/uDmqyY
StackBlitz starter (using latest npm
release): https://goo.gl/wwnhMV
What is the use-case or motivation for changing an existing behavior?
Documentation or something for version 2.0 should still be available.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 4, Material 2.0.0-beta.12, Windows, TS 2.4
Is there anything else we should know?
I have imported MatExpansionModule via import and included it in imports array.
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Angular 6 error show <mat-panel-title> is not a known element
I am trying to use Angular Material in Angular 6 project but getting errors. 'mat-panel-title' is not a known element: ...
Read more >'mat-panel-description' is not a known element: : r/angular
Error occurs in the template of component MainAndSidebarLayoutComponent. mat-panel-description' is not a known element.
Read more >can't bind to 'mat-dialog-close' since it isn't a known property of ...
Error: Template parse errors: 'mat-dialog-content' is not a known element: 1. If 'mat-dialog-content' is an Angular component, then verify that it is part ......
Read more >Expansion Panel | Angular Material
MatExpansionPanel extends CdkAccordionItem. This component can be used as a single element to show expandable content, or as one of multiple children of...
Read more >Template parse errors: : 'xxxComponent' is not a known element
Solved Angular Uncaught Error: Template parse errors : : 'xxxComponent' is not a known element : 3.4K views · 1 year ago ...more ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Based on your error message, it looks like you spelled it
mat-accordian
.The element is called
mat-accordion
.