12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- 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: 'person',
- loadComponent: () =>
- import('../person/person.page').then((m) => m.PersonPage),
- },
- {
- path: 'character',
- loadComponent: () => import('../character/character.page').then( m => m.CharacterPage)
- },
- {
- 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',
- },
- ];
|