my-task-board/src/app/app.config.ts

16 lines
564 B
TypeScript
Raw Normal View History

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-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()),
provideHttpClient(withFetch())
]
2025-04-14 17:39:03 +00:00
};