Loading…

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.

Example

                                        

ng component name

or

ng generate component componentname

Suggest An Answer

No suggestions avaliable!

Latest post from Angular 4 Interview Questions

Ask Question