adding scss to angular project code example
Example 1: convert angular project from css to scss
ng config schematics.@schematics/angular:component.styleext scss
Example 2: how to import scss file in angular
In the new angular v6, importing sass files is a little different from the previous version.
I just needed to import like this (in a component stylesheet)
@import "~src/sass/variables"; // note: without file extension
Now everything works fine
Thanks all for the help