A

Admin • 832.27K Points
Coach

Q. Which Angular CLI 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 build component component-name
  • Correct Answer - Option(A)
  • Views: 20
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

The generate command scaffolds new components, directives, services, etc.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.