0.0.1 • Published 2 years ago

harman-api-aggrid v0.0.1

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

Harman + AG Grid Components (@harman/aggrid)

About @harman/aggrid library

The @harman/aggrid library contains components that use AG Grid.

Installation

  • Add the AG Grid NPM packages. From root folder of your project, run the command: npm install --save ag-grid-community ag-grid-angular npm install # in certain circumstances npm will perform an "auto prune". This step ensures all expected dependencies are | present (comment from official guide)

  • Make sure you insert all necessary imports where needed. See sample files in this project for examples.

  • In styles.css file, add the following imports: @import "../node_modules/ag-grid-community/dist/styles/ag-grid.css"; @import "../node_modules/ag-grid-community/dist/styles/ag-theme-alpine.css";

Links

Generated text below

This library was generated with Angular CLI version 12.0.3.

Code scaffolding

Run ng generate component component-name --project harman-api-aggrid to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project harman-api-aggrid.

Note: Don't forget to add --project harman-api-aggrid or else it will be added to the default project in your angular.json file.

Build

Run ng build @harman/aggrid to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with ng build @harman/aggrid, go to the dist folder cd dist/harman-api-aggrid and run npm publish.

Running unit tests

Run ng test @harman/aggrid to execute the unit tests via Karma.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.