logo
Angular - Quiz(MCQ)
Which is the correct command to create a component named CustomerDetailComponent with the CLI (with this exact casing)?
A)
ng generate component customerdetail
B)
ng create component customer-detail
C)
ng c c customer-detail
D)
ng generate component customer-detail

Correct Answer :   ng generate component customer-detail