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