-1

Theme selected : custom

Error: SassError: @use rules must be written before any other rules.

╷ 39 │ @use '@angular/material' as mat;

╵ src\custom-theme.scss 39:1 root stylesheet

enter image description here

  • Can you bring more detail and showing your `package.json` and full of error by text (not captured image) – paranaaan Aug 02 '22 at 06:43

1 Answers1

-1

In file : src\custom-theme.scss

Check for the line : @use '@angular/material' as mat;

In my file were 2. There must be only one so delete the rest