Skip to content

Commit

Permalink
docs: udpate
Browse files Browse the repository at this point in the history
  • Loading branch information
joaqcid committed Apr 11, 2021
1 parent b1a2297 commit b0fd171
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,20 @@ In order to install the plugin you need to add the following packages
Next you need to include the plugin in you `app.module.ts`

```ts
// ...
import { NgxsStateDiffLoggerModule } from '@ngxs-labs/state-diff-logger';

@NgModule({
declarations: [AppComponent],
imports: [
BrowserModule,
NgxsModule.forRoot([TestState]),
NgxsLoggerPluginModule.forRoot({
disabled: environment.production,
}),
NgxsStateDiffLoggerModule,
RouterModule.forRoot([], { initialNavigation: 'enabled' }),
//...
],
providers: [],
bootstrap: [AppComponent],
//...
})
export class AppModule {}
```
Expand Down

0 comments on commit b0fd171

Please sign in to comment.