There's more...

In Angular-CLI's new command, there is an option to provide a style file extension type when you create a new project using the following command:

ng new my-angular-sass-project --style scss

When you choose this option, Angular-CLI will create a new Angular project, with ready-made Sass files at /src/styles.scss and /src/app/app.component.scss. It will also automatically set the default style file extension to scss in our .angular-cli.json file, requiring no further configuration.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.222.110.235