add css when only one component is generated angular 9 code example
Example 1: ng-deep
::ng-deep{
// some css
}
Example 2: angular inline component
> ng generate component <component-name> --inlineTemplate=true --inlineStyle=true
::ng-deep{
// some css
}
> ng generate component <component-name> --inlineTemplate=true --inlineStyle=true