May 10, 2020
Estimated Post Reading Time ~

How to set up an Angular 2 Application

In order to set up an Angular 2 Application, few things need to be done to prepare the environment.

First things first, we will have to pick an editor. There are many editors out there, but I will be using the Visual Studio Code.
Visual Studio
Visual Studio Code
WebStorm
Atom
Eclipse 

Others Next we will need to set up our development environment. So we will have to install Node Package Manager (NPM) >> npmjs.com.

Setting up an Angular 2 Application you will need to do the following:
Create an application folder
Create the tsconfig.json file
Create the package.json file
Create the typings.json file
Install the libraries and typings
Create the host Web page (index.html)
Create the main.ts file (bootstrapper)

There are a few ways to start. One of them is to manually perform each step, just follow the link (www.angular.io) for a QuickStart. Another option is to use tooling, such as AngularCli, it is a command-line tool. It is still in progress, but you can check it out at the following URL (https://github.com/angular/angular-cli).


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.