You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@griffiti You know there is a possibility to set the default style extension inside the 'angular-cli.json' file.
styleExt: 'scss' for example, if you do that it will generate a .scss file instead of a .css file with the generation of a component or route for example.
I'm closing this issue because the answers given here seem to cover the usecase, and I don't see a big need to support it on the ng generate component command.
It doesn't sound common enough that a user would have a default on angular-cli.json and then use a few different preprocessors elsewhere in the app.
It would be nice to have a
--sass
flag to use withng generate
to create a .scss file instead of a .css file for a given component.ng generate component user-list.component --sass
The text was updated successfully, but these errors were encountered: