File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -44,20 +44,20 @@ Navigate to `[http://localhost:4200/]`. The app will automatically reload if you
44
44
45
45
### Generating other scaffolds
46
46
47
- Add a new component with:
48
- ``` bash
49
- ng generate component my-new-component
50
- ```
47
+ You can use the ` ng generate ` (or just ` ng g ` ) command to generate Angular components:
51
48
52
- Add a new service with:
53
49
``` bash
54
- ng generate service my-new-service
55
- ```
56
-
57
- Add a new pipe with:
58
- ``` bash
59
- ng generate pipe my-new-pipe
50
+ ng generate component my-new-component
51
+ ng g component my-new-component # using the alias
60
52
```
53
+ You can find all possible blueprints in the table below:
54
+
55
+ Scaffold | Usage
56
+ --- | ---
57
+ Component | ` ng g component my-new-component `
58
+ Directive | ` ng g directive my-new-directive `
59
+ Pipe | ` ng g pipe my-new-pipe `
60
+ Service | ` ng g service my-new-service `
61
61
62
62
63
63
### Creating a build
You can’t perform that action at this time.
0 commit comments