Skip to content

Commit 5892727

Browse files
committed
docs: Update css preprocessor story.
1 parent a47676b commit 5892727

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/documentation/stories/css-preprocessors.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ ng new sassy-project --style=sass
2828
Or set the default style on an existing project:
2929

3030
```bash
31-
ng set defaults.styleExt scss
31+
ng config schematics.@schematics/angular:component.styleext scss
32+
# note: @schematics/angular is the default schematic for the Angular CLI
3233
```
3334

3435
Style strings added to the `@Component.styles` array _must be written in CSS_ because the CLI cannot apply a pre-processor to inline styles.

0 commit comments

Comments
 (0)