12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- import { Routes } from '@angular/router';
- import { TabsPage } from './tabs.page';
- export const routes: Routes = [
- {
- path: 'tabs',
- component: TabsPage,
- children: [
- {
- path: 'home',
- loadComponent: () =>
- import('../home/home.page').then((m) => m.HomePage),
- },
- {
- path: 'forum',
- loadComponent: () =>
- import('../forum/forum.page').then((m) => m.ForumPage),
- },
- {
- path: 'person',
- loadComponent: () =>
- import('../person/person.page').then((m) => m.PersonPage),
- },
- {
- path: 'character-creator',
- loadComponent: () => import('../character-creator/character-creator.page').then(m => m.CharacterCreatorPage)
- },
- {
- path: 'story-generator',
- loadComponent: () => import('../story-generator/story-generator.page').then(m => m.StoryGeneratorPage)
- },
- {
- path: 'toolbox',
- loadComponent: () => import('../toolbox/toolbox.page').then(m => m.ToolboxPage)
- },
- {
- path: '',
- redirectTo: '/tabs/home',
- pathMatch: 'full',
- },
- ],
- },
- {
- path: '',
- redirectTo: '/tabs/home',
- pathMatch: 'full',
- },
- ];
|