Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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
Source by angular.io #
 
PREVIOUS NEXT
Tagged: #generate #component #angular #folder
ADD COMMENT
Topic
Name
3+1 =