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

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

πŸ’¬ Discussion


πŸ“Š Question Analytics

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