Files
ashen-realms/apps/web/src/app/app.routes.ts
2026-08-18 22:36:21 +02:00

21 lines
526 B
TypeScript

import { Routes } from '@angular/router';
import { AppShellComponent } from './layout/app-shell/app-shell.component';
export const routes: Routes = [
{ path: '', pathMatch: 'full', redirectTo: 'world' },
{
path: '',
component: AppShellComponent,
children: [
{
path: 'world',
loadComponent: () =>
import('./features/world/world-page.component').then(
(module) => module.WorldPageComponent,
),
},
],
},
{ path: '**', redirectTo: 'world' },
];