Last active
November 16, 2023 18:09
-
-
Save teomanofficial/ed12793c55bb16d4db3bd91e378e7bb4 to your computer and use it in GitHub Desktop.
Angular NGXS - Store Module
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { isDevMode, NgModule } from "@angular/core"; | |
import { NgxsModule } from "@ngxs/store"; | |
import { NgxsReduxDevtoolsPluginModule } from "@ngxs/devtools-plugin"; | |
@NgModule({ | |
declarations: [], | |
imports: [ | |
NgxsModule.forRoot([]), | |
NgxsReduxDevtoolsPluginModule.forRoot({ | |
name: 'Teozon ECommerce Project', | |
maxAge: 50, | |
disabled: !isDevMode() | |
}), | |
] | |
}) | |
export class StoreModule { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment