f7383b7ba6
fixes aspnetzero/aspnet-zero-core#87 |
||
---|---|---|
src | ||
.gitignore | ||
.npmignore | ||
.travis.yml | ||
BUILD.bat | ||
LICENSE | ||
README.MD | ||
index.ts | ||
package-lock.json | ||
package.json | ||
rollup.config.js | ||
tsconfig.json | ||
tslint.json |
README.MD
abp-ng2-module
Installation
To install this library, run:
$ npm install abp-ng2-module --save
Development
To generate all *.js
, *.js.map
and *.d.ts
files:
$ npm run build
AbpHttpInterceptor
In order to use AbpHttpInterceptor in your module, first import it into your module like below;
import { AbpHttpInterceptor } from '@abp/abpHttpInterceptor';
import { HTTP_INTERCEPTORS } from '@angular/common/http';
then, add it to your module providers like below;
providers: [
{ provide: HTTP_INTERCEPTORS, useClass: AbpHttpInterceptor, multi: true }
///other providers
]
License
MIT