A

Admin • 828.03K Points
Coach

Q. What command creates a new component using Angular CLI?

  • (A) ng new component componentName
  • (B) ng generate component componentName
  • (C) ng create component componentName
  • (D) ng build component componentName
  • Correct Answer - Option(B)
  • Views: 10
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
The Angular CLI command to generate a component is 'ng generate component'.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.