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": {}
:)