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

Explanation: This command scaffolds a new component.

Explanation by: Mr. Dubey
This command scaffolds a new component.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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