Skip to content

Installation

Michael Dostál edited this page Nov 14, 2018 · 1 revision

To install this library, run:

$ npm install angular2-jsonapi --save

Add the JsonApiModule to your app module imports:

import { JsonApiModule } from 'angular2-jsonapi';

@NgModule({
  imports: [
    BrowserModule,
    JsonApiModule
  ],
  declarations: [
    AppComponent
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }
Clone this wiki locally