mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-18 03:23:57 +08:00
docs: update the module blueprint docs
This commit is contained in:
parent
57a67b0014
commit
c44620b0ec
@ -6,10 +6,42 @@
|
||||
`ng generate module [name]` generates an NgModule
|
||||
|
||||
## Options
|
||||
`--app` Specifies app name or index to use.
|
||||
<details>
|
||||
<summary>app</summary>
|
||||
<p>
|
||||
`--app` (alias: `-a`) _default value: 1st app_
|
||||
</p>
|
||||
<p>
|
||||
Specifies app name to use.
|
||||
</p>
|
||||
</details>
|
||||
|
||||
`--flat` Flag to indicate if a dir is created.
|
||||
<details>
|
||||
<summary>flat</summary>
|
||||
<p>
|
||||
`--flat`
|
||||
</p>
|
||||
<p>
|
||||
Flag to indicate if a dir is created.
|
||||
</p>
|
||||
</details>
|
||||
|
||||
`--spec` Specifies if a spec file is generated.
|
||||
<details>
|
||||
<summary>spec</summary>
|
||||
<p>
|
||||
`--spec`
|
||||
</p>
|
||||
<p>
|
||||
Specifies if a spec file is generated.
|
||||
</p>
|
||||
</details>
|
||||
|
||||
`--routing` Specifies if a routing module file should be generated.
|
||||
<details>
|
||||
<summary>routing</summary>
|
||||
<p>
|
||||
`--routing`
|
||||
</p>
|
||||
<p>
|
||||
Specifies if a routing module file should be generated.
|
||||
</p>
|
||||
</details>
|
||||
|
Loading…
x
Reference in New Issue
Block a user