A

Admin • 832.27K Points
Coach

Q. Which Angular CLI command creates a new component?

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

Explanation by: Admin

The correct command to generate a component is `ng generate component` or `ng g c`.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.