Steps to Create Angular Application
1 min readJul 12, 2022
Step 1 :-
- Open Command Prompt.
Step 2:-
- Select Specific location for project folder.
Step 3:-
- Create new project using below command
- ng new my_first_angular_project
Step 4:-
- After this command answer the below question as
- Would you like to add angular routing ?(Y/N)
- Enter Y/N depending upon your requirements of routing
Step 5:-
- Now answer below question as
- Which stylesheet format would you like to use? (Use arrow keys)
> CSS
SCSS [ https://sass-lang.com/documentation/syntax#scss ]
Sass [ https://sass-lang.com/documentation/syntax#the-indented-syntax ]
Less [ http://lesscss.org - From the above select CSS using arrows keys
- Now Folder will get create on specified location with name as my_first_angular_project
Step 6:-
- Go to project folder using below command
- cd my_first_angular_project
Step 7:-
- Now start development server as
- ng serve
- By default our application gets started on port no 4200
- To change that port use below command as
- ng serve -.-port 7000
Step 8:-
- Now you can check your application using browser
- http://localhost/7000