Answers for "adding sass to angular"

CSS
2

change css to scss angular

ng config schematics.@schematics/angular:component.styleext scss
Posted by: Guest on April-22-2020
0

how to generate angular component with scss

ng g component componentname
//it will automatically create 4 files
//componentname.html
//componentname.scss
//componentname.ts
//componentname.spec.ts
Posted by: Guest on August-16-2021
0

scss angular

1) Add the `src/styles.scss reference to the 
angular.json build/options/styles section
2) Create a styles.scss file and add it to your src folder
(If you create a new project just choose the scss option and the CLI
will perform these steps for you)
Posted by: Guest on September-22-2021

Code answers related to "adding sass to angular"

Browse Popular Code Answers by Language