在旧的角度cli中有一个键叫做defaults:
"defaults": {
"schematics": {
"collection": "@nrwl/schematics",
"postGenerate": "npm run format",
"newProject": [
"app",
"lib"
]
},
"styleExt": "scss",
"component": {
"changeDetection": "OnPush"
}
}
Run Code Online (Sandbox Code Playgroud)
这家酒店不再存在.如何在角度cli 6+中添加component/changeDetection?还有我可以添加的组件属性列表吗?