Enable SASS in Angular4
If you use angular-cli to create an Angular4 project. The project will use css by default. If you want to use sass, you can do things like this: In angular-cli.json: Revise apps.styles to be ["styles.scss"], and defaults.styleExt to be "scss". This will enable you to generate .scss file instead of .css file when using command like "ng generate component componentName".