What is the primary purpose of the ng serve command in the Angular CLI?

  • To build the production-ready application
  • To deploy the application
  • To run a development server
  • To test Angular components
The ng serve command in Angular CLI is primarily used to run a development server. This server serves your Angular application, provides hot module reloading for rapid development, and enables you to view changes in real-time as you code.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *