A

Admin • 828.70K Points
Coach

Q. What is the Angular CLI command to add a new component?

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

Explanation by: Admin
This command scaffolds a new component.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.