Communities for your favorite technologies. Explore all Collectives
Ask questions, find answers and collaborate at work with Stack Overflow for Teams.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams
Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
The mat-core() mixin is not getting recognized by my scss file. It shows error as "Undeclared mixin".
@import '~@angular/material/_theming'; @include mat-core();
@angular/[email protected]
after couple of hrs spending i finally figured it out instead of this
@import '~@angular/material/theming';
USE THIS
@import '../node_modules/@angular/material/theming';
(Issue is with the path) :)
Add a comment
Update your angular/cli version and give proper path value for importing angular theme in first line. It solved the problem
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.
@angular/[email protected]