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 }) ] };