From a05388fcbc1f9831976ab96bfd73ce1f86583928 Mon Sep 17 00:00:00 2001 From: Tykayn Date: Thu, 4 Sep 2025 22:29:56 +0200 Subject: [PATCH] add conf --- sae-csc/src/app/app.config.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sae-csc/src/app/app.config.ts b/sae-csc/src/app/app.config.ts index d953f4c..b48b0c7 100644 --- a/sae-csc/src/app/app.config.ts +++ b/sae-csc/src/app/app.config.ts @@ -1,12 +1,15 @@ import { ApplicationConfig, provideBrowserGlobalErrorListeners, provideZoneChangeDetection } from '@angular/core'; import { provideRouter } from '@angular/router'; +import { provideStore } from '@ngrx/store'; import { routes } from './app.routes'; +import { reducers, metaReducers } from './redux/reducers'; export const appConfig: ApplicationConfig = { providers: [ provideBrowserGlobalErrorListeners(), provideZoneChangeDetection({ eventCoalescing: true }), - provideRouter(routes) + provideRouter(routes), + provideStore(reducers, { metaReducers }) ] };