Lecture -3 :Creating a Angular Project with CLI and Visual Studio Code as IDE

Опубликовано: 13 Май 2026
на канале: Kalam Tech's
116
6

Now, creating a project becomes very simple. We have to run following command,
ng new your_ProjectName .
Example : ng new helloworld
Once the files has been created, the CLI will start installing npm packages automatically. Wait until the packages getting installed, it will take a bit of time to complete the process.
Once the dependencies are installed, traverse to the created projected and serve the application using the following commands.
Cd Projectfolder
ng serve –open
The ng serve command launches the server, watches your files, and rebuilds the app as you make changes to those files.
Using the –open (or just -o) option will automatically open your browser on http://localhost:4200/.