22 lines
658 B
TypeScript
22 lines
658 B
TypeScript
import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core';
|
|
import { provideRouter } from '@angular/router';
|
|
|
|
import { routes } from './app.routes';
|
|
import { provideClientHydration, withEventReplay } from '@angular/platform-browser';
|
|
import { provideHttpClient } from '@angular/common/http';
|
|
|
|
import {
|
|
provideCharts,
|
|
withDefaultRegisterables,
|
|
} from 'ng2-charts';
|
|
|
|
|
|
export const appConfig: ApplicationConfig = {
|
|
providers: [
|
|
provideZoneChangeDetection({ eventCoalescing: true }),
|
|
provideRouter(routes),
|
|
provideClientHydration(withEventReplay()),
|
|
provideHttpClient(),
|
|
provideCharts(withDefaultRegisterables())]
|
|
};
|