A

Admin • 832.27K Points
Coach

Q. Which command is used to create a new Angular component using CLI?

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

Explanation by: Admin

`ng generate component` or `ng g c` is the CLI command to create a component.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.