All checks were successful
Build, test and publish / verify (push) Successful in 7m25s
21 lines
726 B
TypeScript
21 lines
726 B
TypeScript
import { ApplicationConfig, LOCALE_ID, provideBrowserGlobalErrorListeners } from '@angular/core';
|
|
import { provideHttpClient } from '@angular/common/http';
|
|
import { registerLocaleData } from '@angular/common';
|
|
import localeNl from '@angular/common/locales/nl';
|
|
import { provideRouter, withInMemoryScrolling } from '@angular/router';
|
|
import { routes } from './app.routes';
|
|
|
|
registerLocaleData(localeNl);
|
|
|
|
export const appConfig: ApplicationConfig = {
|
|
providers: [
|
|
provideBrowserGlobalErrorListeners(),
|
|
provideHttpClient(),
|
|
provideRouter(
|
|
routes,
|
|
withInMemoryScrolling({ scrollPositionRestoration: 'enabled', anchorScrolling: 'enabled' }),
|
|
),
|
|
{ provide: LOCALE_ID, useValue: 'nl-NL' },
|
|
],
|
|
};
|