Skip to content

Commit 349b214

Browse files
diagramaticsfilipesilva
authored andcommitted
docs: slight update to relative path generation guide
The `README.md` threw me off when trying to generate a module or component that is nested in another module. This update reflects the solution in #2136. Close #5506
1 parent e03ca01 commit 349b214

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ ng g component new-cmp
7777
# but if you were to run
7878
ng g component ../newer-cmp
7979
# your component will be generated in src/app/newer-cmp
80+
# if in the directory src/app you can also run
81+
ng g component feature/new-cmp
82+
# and your component will be generated in src/app/feature/new-cmp
8083
```
8184
You can find all possible blueprints in the table below:
8285

0 commit comments

Comments
 (0)