mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-19 04:26:01 +08:00
15 lines
376 B
Markdown
15 lines
376 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
|
|
|
|
`--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
|