πŸ“Š Angular
Q. What does the Angular CLI command 'ng generate component my-component' do?
  • (A) Creates a new component named 'my-component'
  • (B) Builds the app
  • (C) Starts the dev server
  • (D) Runs tests
πŸ’¬ Discuss
βœ… Correct Answer: (A) Creates a new component named 'my-component'

Explanation: This CLI command scaffolds a new component with template, style, and spec files.

Explanation by: Mr. Dubey
This CLI command scaffolds a new component with template, style, and spec files.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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