Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
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
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.
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]