Is there a way to have all components generated with OnPush?
Similar to: ng config schematics.@schematics/angular.component.changeDetection OnPush
found the solutions to my question :)
just add
"@schematics/angular:component": {
"style": "scss",
"changeDetection": "OnPush"
}
to yor workspace.json file at the very end of "schematics": {} :)
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