27 lines
667 B
TypeScript
27 lines
667 B
TypeScript
import { Routes } from '@angular/router';
|
|
|
|
export const routes: Routes = [
|
|
{
|
|
path: '',
|
|
redirectTo: 'tusha/home',
|
|
pathMatch: 'full',
|
|
},
|
|
{
|
|
path: 'tusha/home',
|
|
loadComponent: () => import('./pages/home/home.component').then(m => m.HomePage)
|
|
},
|
|
{
|
|
path: 'tusha/modus',
|
|
loadComponent: () => import('./pages/modus/modus-overview.component').then(m => m.ModusOverviewPage)
|
|
},
|
|
{
|
|
path: 'tusha/modus/focus',
|
|
loadComponent: () => import('./pages/modus/focus/focus.component').then(m => m.FocusPage)
|
|
},
|
|
{
|
|
path: 'folder/:id',
|
|
loadComponent: () =>
|
|
import('./folder/folder.page').then((m) => m.FolderPage),
|
|
},
|
|
];
|