1
0
mirror of https://github.com/angular/angular-cli.git synced 2025-05-16 18:43:42 +08:00
Michał Gołębiowski 20484598dd chore: change all Angular-CLI occurrences to Angular CLI ()
* chore: change all Angular-CLI occurrences to Angular CLI

* docs: remove one remaining angular-cli reference
2017-02-03 15:50:24 +00:00

760 B

CSS Preprocessor integration

Angular CLI supports all major CSS preprocessors:

To use these preprocessors simply add the file to your component's styleUrls:

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss']
})
export class AppComponent {
  title = 'app works!';
}

When generating a new project you can also define which extension you want for style files:

ng new sassy-project --style=sass

Or set the default style on an existing project:

ng set defaults.styleExt scss