A

Admin • 833K Points
Coach

Q. What command is used to generate a new component using Angular CLI?

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

Explanation by: Admin

`ng generate component` or `ng g c` is used to scaffold a new component.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.