mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 02:54:21 +08:00
779 B
779 B
ng generate module
Overview
ng generate module [name]
generates an NgModule
Options
app
`--app` (alias: `-a`) _default value: 1st app_
Specifies app name to use.
flat
`--flat`
Flag to indicate if a dir is created.
spec
`--spec`
Specifies if a spec file is generated.
routing
`--routing`
Specifies if a routing module file should be generated.