Answers for "command to create a component inside another folder in angular"

2

ng generate component in subfolder

ng g c components/component-name-here
Posted by: Guest on January-05-2020
1

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
Posted by: Guest on July-06-2020

Code answers related to "command to create a component inside another folder in angular"

Browse Popular Code Answers by Language