A

Admin • 825.56K Points
Coach

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

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

Explanation by: Admin
'ng generate component' creates a new Angular component.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.