Answer the question
In order to leave comments, you need to log in
Why does angular cli create a directory when creating a component?
Hello.
why when you create a component in angular cli it creates a folder with its name and puts the component itself in it?
ng gc test
instead of just creating test.componen.ts
it creates
test/test.component.ts
How to fix it?
thanks.
Answer the question
In order to leave comments, you need to log in
Apart from the .ts file itself, it creates .html and .scss. Do you want to dump everything on the heap? A crazy idea, of course, but the owner is a master, I think you will find the answer here documentation
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question