Q. Which Angular CLI command creates a new component?

  • (A) ng new component
  • (B) ng generate component
  • (C) ng create component
  • (D) ng make component
πŸ’¬ Discuss
βœ… Correct Answer: (B) ng generate component
Explanation: The correct command to generate a component is `ng generate component` or `ng g c`.
Explanation by: Mr. Dubey
The correct command to generate a component is `ng generate component` or `ng g c`.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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