Angular CLI New Project and Component

  1. Creating New Project Options:

1

Details Here

2. If you see the project did not created the templete as seperate html file, open angular.json file and setup these 2 line to false like this:

“schematics”: {
“@schematics/angular:component”: {
“inlineTemplate”: false,
“inlineStyle”: false
3. cd to inside the project.

 

4. Adding New Component:

ng g c test2

 

Leave a comment