mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-28 02:58:04 +08:00
16 lines
423 B
Markdown
16 lines
423 B
Markdown
<!-- Links in /docs/documentation should NOT have `.md` at the end, because they end up in our wiki at release. -->
|
|
|
|
# ng generate module
|
|
|
|
## Overview
|
|
`ng generate module [name]` generates an NgModule
|
|
|
|
## Options
|
|
`--app` Specifies app name or index to use.
|
|
|
|
`--flat` Flag to indicate if a dir is created.
|
|
|
|
`--spec` Specifies if a spec file is generated.
|
|
|
|
`--routing` Specifies if a routing module file should be generated.
|