2017-03-23 17:25:30 -07:00

48 lines
779 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
<details>
<summary>app</summary>
<p>
`--app` (alias: `-a`) _default value: 1st app_
</p>
<p>
Specifies app name to use.
</p>
</details>
<details>
<summary>flat</summary>
<p>
`--flat`
</p>
<p>
Flag to indicate if a dir is created.
</p>
</details>
<details>
<summary>spec</summary>
<p>
`--spec`
</p>
<p>
Specifies if a spec file is generated.
</p>
</details>
<details>
<summary>routing</summary>
<p>
`--routing`
</p>
<p>
Specifies if a routing module file should be generated.
</p>
</details>