13 lines
434 B
TypeScript
13 lines
434 B
TypeScript
import { provideHttpClient, withFetch } from '@angular/common/http';
|
|
import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core';
|
|
import { provideRouter } from '@angular/router';
|
|
import { appRoutes } from './app.routes';
|
|
|
|
export const appConfig: ApplicationConfig = {
|
|
providers: [
|
|
provideZoneChangeDetection({ eventCoalescing: true }),
|
|
provideRouter(appRoutes),
|
|
provideHttpClient(withFetch()),
|
|
],
|
|
};
|