2025-04-14 17:39:03 +00:00
|
|
|
import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core';
|
|
|
|
|
import { provideRouter } from '@angular/router';
|
|
|
|
|
import { routes } from './app.routes';
|
|
|
|
|
import { provideClientHydration, withEventReplay } from '@angular/platform-browser';
|
2025-04-15 03:53:29 +00:00
|
|
|
import { provideHttpClient, withFetch } from '@angular/common/http'
|
2025-04-16 05:22:36 +00:00
|
|
|
import { providerThemeInitializer } from './initializers/theme-initializer';
|
2025-04-14 17:39:03 +00:00
|
|
|
|
|
|
|
|
export const appConfig: ApplicationConfig = {
|
2025-04-15 03:53:29 +00:00
|
|
|
providers: [
|
|
|
|
|
provideZoneChangeDetection({ eventCoalescing: true }),
|
|
|
|
|
provideRouter(routes),
|
|
|
|
|
provideClientHydration(withEventReplay()),
|
2025-04-16 05:22:36 +00:00
|
|
|
provideHttpClient(withFetch()),
|
|
|
|
|
providerThemeInitializer,
|
2025-04-15 03:53:29 +00:00
|
|
|
]
|
2025-04-14 17:39:03 +00:00
|
|
|
};
|