Files
nrwl--nx/examples/angular-rspack/csr-css-assets/src/app/app.config.ts
T
2026-07-13 12:38:36 +08:00

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