From ced878a9bbd1a97cbd71016c7a01b525c45bee34 Mon Sep 17 00:00:00 2001 From: Matthew Van der Bijl Date: Sun, 7 Nov 2021 09:38:43 +0100 Subject: [PATCH] docs(integrations): list ngxs as integration - Add Angular ngxs integration example --- docs/Integrations.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/Integrations.md b/docs/Integrations.md index cb51130e..19243bd0 100644 --- a/docs/Integrations.md +++ b/docs/Integrations.md @@ -121,6 +121,25 @@ export class AppModule { } [`Example of integration`](https://github.com/ngrx/platform/tree/master/projects/example-app/) ([live demo](https://ngrx.github.io/platform/example-app/)). +#### [Angular @ngxs/store](https://www.ngxs.io/) + [`@ngxs/devtools-plugin`](https://www.ngxs.io/plugins/devtools) +```js +import { NgxsModule } from '@ngxs/store'; +import { NgxsReduxDevtoolsPluginModule } from '@ngxs/devtools-plugin'; + +@NgModule({ + imports: [ + NgxsModule.forRoot(rootReducer, { + developmentMode: !environment.production, + }), + NgxsReduxDevtoolsPluginModule.forRoot({ + name: 'Example name', + maxAge: 5, + }), + ] +}) +export class AppModule { } +``` + ### [Ember](http://emberjs.com/) #### [`ember-redux`](https://github.com/ember-redux/ember-redux) ```js