A

Admin • 832.27K Points
Coach

Q. Which Angular command generates a new component?

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

Explanation by: Admin

The CLI command ng generate component creates a new component.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.