Skip to content

Commit 40b1901

Browse files
shahrishabhptechnicalfilipesilva
authored andcommitted
docs(@angular/cli): update command to generate component
1 parent 79546da commit 40b1901

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ ng g component my-new-component # using the alias
8484
ng g component new-cmp
8585
# your component will be generated in src/app/feature/new-cmp
8686
# but if you were to run
87-
ng g component ../newer-cmp
87+
ng g component ./newer-cmp
8888
# your component will be generated in src/app/newer-cmp
8989
# if in the directory src/app you can also run
9090
ng g component feature/new-cmp

0 commit comments

Comments
 (0)