立诚勿怠,格物致知
It's all about connecting the dots

标签:angular

Enable SASS in Angular4

If you use angular-cli to create an Angular4 project. The project will use css by default. If you want to use sass, you can do things like this: In angular-cli.json: Revise apps.styles to be ["styles.scss"], and defaults.styleExt to be "scss". This will enable you to generate .scss file instead of .css file when using command like "ng generate component componentName".

登录

找回密码

注册