Files
psp_panel/src/app.config.ts
T

17 lines
858 B
TypeScript
Raw Normal View History

2025-01-03 12:52:44 +03:00
import { provideHttpClient, withFetch } from '@angular/common/http';
import { ApplicationConfig } from '@angular/core';
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
import { provideRouter, withEnabledBlockingInitialNavigation, withInMemoryScrolling } from '@angular/router';
2025-07-07 15:10:43 +03:00
import Aura from '@primeuix/themes/aura';
2025-01-07 13:24:19 +00:00
import { providePrimeNG } from 'primeng/config';
2025-01-07 12:16:16 +03:00
import { appRoutes } from './app.routes';
2025-01-03 12:52:44 +03:00
export const appConfig: ApplicationConfig = {
providers: [
2025-01-07 12:16:16 +03:00
provideRouter(appRoutes, withInMemoryScrolling({ anchorScrolling: 'enabled', scrollPositionRestoration: 'enabled' }), withEnabledBlockingInitialNavigation()),
2025-01-03 12:52:44 +03:00
provideHttpClient(withFetch()),
provideAnimationsAsync(),
2025-01-08 09:46:49 +03:00
providePrimeNG({ theme: { preset: Aura, options: { darkModeSelector: '.app-dark' } } })
2025-01-03 12:52:44 +03:00
]
};