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.
BY Best Interview Question ON 12 Feb 2019
ng component name
ng generate component componentname