1.1.0 • Published 3 years ago

ui-ng-app-commons v1.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

UI-NG-APP-COMMONS

This project contains commons things required for IV UI

Installation

Production

Use npm package manager to install

npm install ui-app-commons

Local Development

Take clone of this repo

Do npm install to install all dependent node modules

npm install

Compiler with watch option

npm run build

Usage

Local

Update tsconfig.json file of target project and add path to UI-NG-APP-COMMONS

// Import library
import { ApplicationStoreService } from 'ui-app-commons';

// In Angular project inject it in root
// Update providers in app module

providers: [
    {
      provide : ApplicationStoreService,
      useValue : ApplicationStoreService.getInstance()
    }
  ],

// In components import the library and use the exposed methods