Q. Which command is used to add a new component via Angular CLI?

  • (A) ng generate component
  • (B) ng new component
  • (C) ng create component
  • (D) ng build component
πŸ’¬ Discuss
βœ… Correct Answer: (A) ng generate component
Explanation: ng generate component creates a new component in the project.
Explanation by: Mr. Dubey
ng generate component creates a new component in the project.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
88
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
90%
Success Rate