Skip to main content
4. Steps to Create an Angular Project
- Steps to Create an Angular project
- Install node.js from https://nodejs.org/en/
- Install Angular CLI use "npm install -g @angular/cli" command
- Create a new angular project use "ng new project_name " command
- Serve the project: Navigate using " cd my-project" command and Serve using " ng serve" command
- View your application on localhost://4200
- Additional Dependencies: use "npm install <package-name>" command to install new dependencies.
- TypeScript will be installed automatically when you create a new angular project using Angular CLI.
- tsc --init is used to create tsconfig.json file but it will automatically get generated when you create a new angular project using Angular CLI.
Comments
Post a Comment