A

Admin • 833K Points
Coach

Q. Which file is updated when a new component is added via CLI?

  • (A) angular.json
  • (B) package.json
  • (C) app.module.ts
  • (D) tsconfig.json
  • Correct Answer - Option(C)
  • Views: 26
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

For non-standalone components, app.module.ts is updated to declare the component.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.