R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which Angular command creates a new component?

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

Explanation by: Ram Sharma

Use `ng generate component` or `ng g c` to create a component.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.