mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-11 05:13:02 -05:00
13 lines
408 B
TypeScript
13 lines
408 B
TypeScript
import { ApplicationConfig } from '@angular/core';
|
|
import { provideRouter } from '@angular/router';
|
|
|
|
export const appConfig: ApplicationConfig = {
|
|
providers: [
|
|
provideRouter([
|
|
{ path: '', pathMatch: 'full', redirectTo: 'video' },
|
|
{ path: 'video', loadComponent: () => import('./video.component') },
|
|
{ path: 'phone', loadComponent: () => import('./phone.component') },
|
|
]),
|
|
],
|
|
};
|