Angular 7 application within 5 minutes.

Here I am showing a Angular 7 Hello World application within 2 minutes .
In this tutorial I will show you the demo application without brief descriptions . Although I am not describing about the application briefly but it is very interesting . You will just see how easily we can build the Angular 7 application just by few commands.
 
So before starting this tutorial you should have some basic things.

Your machine should have Node.Js and NPM installed .

So Lets get started .

Step-1 :
 Please open command prompt .

Step -2 :

Then please check the  node.js version by this below command

node -v
(node.js version should be 8.x or 10.x )
If this given version is not there then please update it below commands

npm install npm@latest -g

Step-3 :
Then please install Angular CLI. Please run the below commands.

npm install -g @angular/cli

Step- 4 :
In this steps just create a work space to create a new angular project . To create the new work space please run the below commands.

ng new hello-world

Note :
Here the work space name is "hello-world" . You can give any name , it is just like a project folder or you can say the work space is a folder where the project files resides.

Step-5 :
Then after completion of the process we will now run our Angular 7 application . So to run the application we have to run the following command.

ng serve --open (or --o)

After this in browser you will see the below screen .



Comments

Popular posts from this blog

Unable to load one or more breakpoints in Visual studio.

The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.

The transaction is aborted or Failure while attempting to promote transaction.