Angular is an open-source front-end framework used for developing web applications. Initially, they released ANGULARJS which is version 1, and after that they released a new framework named ANGULAR 2, which will start from 2.0 onwards. Now Angular is one of the most used front-end frameworks which is available in the market now. Now we can how to install and configure angular
Step 1.
We need to install npm and nodejs if it is not available in your local machine.
Step 2:
We need to install Angular CLI globally. Angular CLI is a command-line tool used to build Angular Apps. We can install angular CLI using the below command
npm install -g @angular/cli
Step 3:
Create and a new project. The Angular CLI installs the necessary packages and create the project files and create a simple app
ng new helloworld
Step 4.
We need to move inside the folder using the below command
cd helloworld
Step 5
Serve our Angular App.
ng serve
or
ng serve --open
If we are using the --open, then it will open the application automatically in our default browser.
Now we created our first Angular Project and we can now start developing our Angular Applications. You can see new topics related to Angular later.
Comments
Post a Comment