Skip to content

Commit

Permalink
refactor(angular.json): add schematics [WiP]
Browse files Browse the repository at this point in the history
* add schematics => angular.json
  => @schematics/angular:component

=> "style": "scss", "changeDetection": "OnPush"

VladiRR#38
  • Loading branch information
VladiRR committed Apr 6, 2021
1 parent 3765dd0 commit 1b60c9e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
},
"@nrwl/angular:component": {
"style": "scss"
},
"@schematics/angular:component": {
"style": "scss",
"changeDetection": "OnPush"
}
},
"defaultProject": "frontend-client",
Expand Down
1 change: 1 addition & 0 deletions libs/frontend/ui/components/src/lib/components.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ import { CommonModule } from '@angular/common';

@NgModule({
imports: [CommonModule],
declarations: [],
})
export class ComponentsModule {}

0 comments on commit 1b60c9e

Please sign in to comment.