We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
module
1 parent ef6d76e commit a117698Copy full SHA for a117698
packages/schematics/angular/module/files/__name@dasherize@if-flat__/__name@dasherize__.module.ts
@@ -4,10 +4,10 @@ import { CommonModule } from '@angular/common';<% } %><% if (routing) { %>
4
import { <%= classify(name) %>RoutingModule } from './<%= dasherize(name) %>-routing.module';<% } %>
5
6
@NgModule({
7
+ declarations: [],
8
imports: [<% if (commonModule) { %>
9
CommonModule<%= routing ? ',' : '' %><% } %><% if (routing) { %>
10
<%= classify(name) %>RoutingModule<% } %>
- ],
11
- declarations: []
+ ]
12
})
13
export class <%= classify(name) %>Module { }
0 commit comments