This library was generated with Angular CLI version 14.2.8.
Run ng generate component component-name --project core to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project core.
Note: Don't forget to add
--project coreor else it will be added to the default project in yourangular.jsonfile.
Run ng build core to build the project. The build artifacts will be stored in the dist/ directory.
To generate all *.js, *.js.map and *.d.ts files. The build artifacts will be stored in the dist/ directory.
$ npm run build:prodAfter building your library, go to the dist folder cd dist/core and run npm publish or run below command
Run ng test core to execute the unit tests via Karma.
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.
Issues of this repository are tracked on https://github.com/cartesianui/back-office-app. Please create your issues on https://github.com/cartesianui/back-office-app/issues.
To install this library, run:
$ npm i @cartesianui/core --saveIn order to use CartesianHttpInterceptor, first import it into module like below;
import { CartesianHttpInterceptor } from '@cartesianui/core';
import { HTTP_INTERCEPTORS } from '@angular/common/http';then, add it to your module providers like below;
imports: [
    ///other imports
],
providers: [
    ///other providers
    { provide: HTTP_INTERCEPTORS, useClass: CartesianHttpInterceptor, multi: true }
]Import any other service e.g. TenancyService
import { TenancyService } from '@cartesianui/core';MIT