Saturday, 14 April 2018

What are the node packages required for Angular 2 app development?

In this article, We will discuss about What are the node packages required for Angular 2 app development.

The node packages are as follows,
1/ @angular/core:-
------------------------
This package will provide core.umd.js file, this file is used to provide common functions and classes used in angular app development.
Ex:- @Componet, @NgModule

2/ @angular/common:-
----------------------------
This package will provide common.umd.js file, this allows service creating and injecting dependencies.

3/ @angular/compiler:-
----------------------------
This package will provide compile.umd.js file, this will render Component template[html] into browser.

4/ @angular/platform-browser:-
--------------------------------------
This package will provide platform-browser.umd.js file.

5/ @angular/platform-browser-dynamic:-
--------------------------------------------------
This package will provide platform-browser-dynamic.js file.

The platform-browser.umd.js and platform-browser-dynamic.umd.js file will run angular app within browser by loading modules along with components.

6/ systemjs:-
---------------
This package will provide system.js file, this is a angular module loader to load modules on demand.

7/ core.js:-
-------------
This package will provide shim.js file, this will implement polyfills to support angular app execution with older version browser.

8/ rxjs:-
9/ zone.js:-
-----------------
This above 2 package will provide data binding support in angular.


The above all Packages we need to use while developing angular app.

0 comments:

Post a Comment