node.js - @angular/cli: 1.4.1 Angular Generate Component but it returns home.component.css -
$npm install -g @angular/cli $ng new angular --routing --style=sass $ng g c home "apps": [ { "styles": [ "styles.sass" ], } "defaults": { "styleext": "sass", "component": { } }
i want sass style in angular, use angular cli, try generate component returns style prefix css. may me fixing that? in advance answer.
to override default style, can use option --style [css|scss|sass]
:
ng g c home --style=css
Comments
Post a Comment