Q. Which command is used to create a new Angular component?

  • (A) ng generate service
  • (B) ng new component
  • (C) ng generate component
  • (D) ng make component
πŸ’¬ Discuss
βœ… Correct Answer: (C) ng generate component
Explanation: To create a new component, the command is `ng generate component`.
Explanation by: Mr. Dubey
To create a new component, the command is `ng generate component`.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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