@gdkmd/http
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

##HƯỚNG DẪN SỬ DỤNG #Ví dụ: app.module.ts

import {GdkHttpClientConfigModule} from '@gdkmd/http';

const appConfig: GdkConfigUrl = {  
  urlBaseServer: 'URLAPI'
  urlLogin: '/auth/login',
  urlHome: '/'
}

@NgModule({
  declarations: [
    AppComponent,



  ],
  imports: [
   .....................
    GdkHttpClientConfigModule.forRoot(appConfig)
   
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Readme

Keywords

Package Sidebar

Install

npm i @gdkmd/http

Weekly Downloads

1

Version

1.0.6

License

MIT

Unpacked Size

490 kB

Total Files

41

Last publish

Collaborators

  • vuits24