mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 12:53:03 -05:00
15 lines
409 B
TypeScript
15 lines
409 B
TypeScript
import { ApplicationConfig } from '@angular/core';
|
|
import { provideRouter, withViewTransitions } from '@angular/router';
|
|
|
|
export const appConfig: ApplicationConfig = {
|
|
providers: [
|
|
provideRouter(
|
|
[
|
|
{ path: 'bar', loadComponent: () => import('./bar.component') },
|
|
{ path: 'foo', loadComponent: () => import('./foo.component') },
|
|
],
|
|
withViewTransitions(),
|
|
),
|
|
],
|
|
};
|