From 5892727adb4cf6e77abf5a4ffbb00c8f4e9a3dda Mon Sep 17 00:00:00 2001 From: Mike Brocchi Date: Fri, 27 Apr 2018 15:05:46 -0700 Subject: [PATCH] docs: Update css preprocessor story. --- docs/documentation/stories/css-preprocessors.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/documentation/stories/css-preprocessors.md b/docs/documentation/stories/css-preprocessors.md index 58bd0071deab..90d93282d498 100644 --- a/docs/documentation/stories/css-preprocessors.md +++ b/docs/documentation/stories/css-preprocessors.md @@ -28,7 +28,8 @@ ng new sassy-project --style=sass Or set the default style on an existing project: ```bash -ng set defaults.styleExt scss +ng config schematics.@schematics/angular:component.styleext scss +# note: @schematics/angular is the default schematic for the Angular CLI ``` Style strings added to the `@Component.styles` array _must be written in CSS_ because the CLI cannot apply a pre-processor to inline styles. \ No newline at end of file