How to create a new component using CLI in Angular 4?
To create a new component in Angular 4 using CLI,
- Open Project Directory
- Run any one of the below mentioned the syntax
We have the most extensive question bank to help you answer Angular 4 interview questions and answers.
ng component name
ng generate component componentname