feat: build dark fantasy application shell
This commit is contained in:
@@ -1,3 +1,20 @@
|
||||
import { Routes } from '@angular/router';
|
||||
import { AppShellComponent } from './layout/app-shell/app-shell.component';
|
||||
|
||||
export const routes: Routes = [];
|
||||
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' },
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user