I created a new library today by running the create project command first:
ng new situ-angular-components --createApplication=false --skipTests=true --prefix=situ --style=scss
Then I created the library:
ng g library situ-angular-components
I expected that when I run ng g c footer it would create the component without the test file and with a SCSS file, but it doesn't:

Does anyone know why?
Open you angular.json and check the schematics/angular:component tree
It should be like this
"schematics": {
"@schematics/angular:component": {
"style": "scss",
"prefix": "app"
}
},
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With