πŸ“Š Angular
Q. Which Angular CLI command is used to generate a new component?
  • (A) ng new component <name>
  • (B) ng generate component <name>
  • (C) ng create component <name>
  • (D) ng add component <name>
πŸ’¬ Discuss
βœ… Correct Answer: (B) ng generate component <name>

Explanation: ng generate component or shorthand ng g c creates a new component.

Explanation by: Mr. Dubey
ng generate component or shorthand ng g c creates a new component.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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