@ertnext/admin-api-client
v16.4.7
Published
Arland NEXT Admin Api Client
Downloads
28
Readme
Arland Admin API Client
Before install
check if your Project has the correct registry
Add @next registry
create file .npmrc
next to your package.json add add follow:
@next:registry=http://10.1.3.28
How to install
yarn add @next/admin-api-client
How to use
Import the ApiModule in the AppModule with the forRoot (Singelton)
@NgModule({
imports: [
ApiModule.forRoot({
storage: 'local',
storageKey: 'authorization',
baseUri: 'http://localhost:60098/api',
documentBaseUri: 'http://localhost:60098/documents'
})
]
})
export class AppModule {
}
How to build lib for development
First time:
- clone repository
- yarn
- yarn start
open browser http://localhost:8802/
How do build lib and upload to arland npm
- open package.json file extend the version number
- yarn build
- publish.bat