πŸ“Š Angular
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
πŸ’¬ Discuss
βœ… Correct Answer: (C) app.module.ts

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

Explanation by: Mr. Dubey
For non-standalone components, app.module.ts is updated to declare the component.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
59
Total Visits
πŸ“½οΈ
10 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
86%
Success Rate