Skip to content

Commit e6f3062

Browse files
AmmarHasanjelbourn
authored andcommitted
docs: add name flag to commands in schematic guide (#11283)
1 parent c224a38 commit e6f3062

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

guides/schematics.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,21 @@ a toolbar with the app name and the side nav responsive based on Material
3535
breakpoints.
3636

3737
```
38-
ng generate @angular/material:material-nav
38+
ng generate @angular/material:material-nav --name <component-name>
3939
```
4040

4141
### Dashboard Schematic
4242
The dashboard schematic will create a new component that contains
4343
a dynamic grid list of cards.
4444

4545
```
46-
ng generate @angular/material:material-dashboard
46+
ng generate @angular/material:material-dashboard --name <component-name>
4747
```
4848

4949
### Table Schematic
5050
The table schematic will create a new table component pre-configured
5151
with a datasource for sorting and pagination.
5252

5353
```
54-
ng generate @angular/material:material-table
54+
ng generate @angular/material:material-table --name <component-name>
5555
```

0 commit comments

Comments
 (0)