mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-13 14:23:02 -05:00
feat: setup challenge 44
This commit is contained in:
14
apps/angular/view-transition/src/app/app.config.ts
Normal file
14
apps/angular/view-transition/src/app/app.config.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
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(),
|
||||
),
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user