How to create a new app or new project with Angular 10?

In this blog, we are going to create a new angular app. I would like to show you angular 10 by creating a new project. you will learn how to install angular 10. you will learn to create the first application in angular 10. You just need some steps to create the first angular 10 application.how-to-create-a-new-app-or-new-project-with-angular-10

Here, I will write the tutorial and explain step by step.how-to-create-a-new-app-or-new-project-with-angular-10 You need to follow the following steps. So let’s Begin…

  1. Install Angular CLI :

So, if you haven’t installed angular CLI in your system then you can install it by using the following command:

npm install -g @angular/cli

If angular CLI is installed successfully, then you can proceed.

2. Install Angular 10 Project / Create a new App

Now from here, we are able to create a new project in angular 10 using the angular cli command. so let’s create it by the following command:

ng new my-first-app

Now, while the installation process you will get the options to select Routing and CSS styling in your project as follows :

1. If Would you like to add Angular routing?

If you say yes then it will create an app with routing. if not then it will create without routing.

2. Which stylesheet format would you like to use? Pick CSS.

And after selecting the above options the app will start the installation process.

expoundsofttechsolution

After that you can simply compile and run the angular application by following commands:

ng serve

As you can see here that the app has compiled successfully.

Now you can open your browser and open this URL to see the created app.

http://localhost:4200

You will see your first app like as bellow:

I hope you will follow the above steps and create your first Angular 10 application.>how-to-create-a-new-app-or-new-project-with-angular-10

So, thanks for following this blog, and if you need any help please leave your queries in the comment box we will be happy to help you.>how-to-create-a-new-app-or-new-project-with-angular-10how-to-create-a-new-app-or-new-project-with-angular-10