A

Admin • 832.27K Points
Coach

Q. What does the Angular CLI command 'ng generate component my-component' do?

  • (A) Creates a new component named 'my-component'
  • (B) Builds the app
  • (C) Starts the dev server
  • (D) Runs tests
  • Correct Answer - Option(A)
  • Views: 11
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

This CLI command scaffolds a new component with template, style, and spec files.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.