Tuesday, January 7, 2020

get/set have been deprecated in favor of the config command.

I got that error when I tried this with the Angular CLI:

ng set defaults.styleExt scss

 
 

I think the modern times (Angular 8) fix is this:

ng config schematics.@schematics/angular:component.styleext scss

 
 

What am I up to? I am trying to switch an existing application from using CSS standalone for styles to using Sass.

No comments:

Post a Comment