SassError: Can’t find stylesheet to import. @use ‘~@angular/material’ as mat;

For Angular 13 try to remove tilde symbol (~) from the path so import like:

@use '@angular/material' as mat;

It works like a charm.

Leave a Comment