Installation in Angular

4 Apr 20231 minute to read

Installing Package

Syncfusion Angular UI Component (Essential JS 2) packages are published in npm.
You can install the necessary packages from npm’s install command.
For example, grid package can be installed using following command.

npm install @syncfusion/ej2-angular-grids --save

Install by using package.json

  1. Add the Syncfusion Angular (Essential JS 2) package references in the dependencies of ~/package.json file.

     {
         "dependencies": {
             "@syncfusion/ej2-angular-grids": "*"
         }
     }

    The * indicates the latest version of npm package. Refer the documentation for more details about npm versioning.

  2. Now, open the command prompt and run the npm install command line. This will install all npm dependencies in a single command line.

Refer the documentation for more details about npm package.json

These packages offer JavaScript files in ES6, UMD module systems. Which can be used in different dependency management and bundling libraries.