0
Q:

generate component angular without folder

Angular: 

Add --flat flag.

ng g c yourcomponentname --flat


--flat=true|false

When true, creates the new files at the top level of the current project.

Default: false
0

New to Communities?

Join the community