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

Explanation: 'ng generate component' creates a new Angular component.

Explanation by: Mr. Dubey
'ng generate component' creates a new Angular component.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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