An Interest In:
Web News this Week
- April 2, 2024
- April 1, 2024
- March 31, 2024
- March 30, 2024
- March 29, 2024
- March 28, 2024
- March 27, 2024
November 13, 2022 10:55 am GMT
Original Link: https://dev.to/yukikmt/install-angular-3l3e
Install Angular
How to install Angular use Angular CLI.
Install Angular CLI
Install Angular CLI.
Go to the folder where you installed Node.js.
Enter the following command.
npm install -g @angular/cli
Create a Project
Create a project.ng new
creates a project.
test1 is the project name.
You can use any name you like.
The second line confirms whether to add Angular routing.
In this case, I chose y.
The third line confirms the style sheet.
Here I selected CSS.
ng new test1? Would you like to add Angular routing? Yes? Which stylesheet format would you like to use?> CSSSCSS [ http://sass-lang.com ]SASS [ http://sass-lang.com ]LESS [ http://lesscss.org ]Stylus [ http://stylus-lang.com ]
Waking Server
Start the server.
The first line navigates to the project folder.
The second line starts the server.
cd test1ng serve
To stop the server, press ctrl + c.
Check
If you access localhost:4200
on your browser, you'll see the Angular screen.
Original Link: https://dev.to/yukikmt/install-angular-3l3e
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To