- run
ng config schematics.@schematics/angular:component.styleext scss
- in angular.json, change from (at two places)
"src/styles.css"
to
"src/styles.scss"
-
rename all .css to .scss
-
update component.ts files styleUrls from .css to .scss
-
that's it!