18 lines
473 B
TypeScript
18 lines
473 B
TypeScript
import { ApplicationConfig, provideBrowserGlobalErrorListeners } from '@angular/core';
|
|
import { provideRouter, withInMemoryScrolling } from '@angular/router';
|
|
|
|
import { routes } from './app.routes';
|
|
|
|
export const appConfig: ApplicationConfig = {
|
|
providers: [
|
|
provideBrowserGlobalErrorListeners(),
|
|
provideRouter(
|
|
routes,
|
|
withInMemoryScrolling({
|
|
anchorScrolling: 'enabled',
|
|
scrollPositionRestoration: 'enabled',
|
|
}),
|
|
),
|
|
],
|
|
};
|