12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- import { Routes } from '@angular/router';
- import { TabsPage } from './tabs.page';
- export const routes: Routes = [
- {
- path: 'tabs',
- component: TabsPage,
- children: [
- {
- path: 'tab1',
- loadComponent: () =>
- import('../tab1/tab1.page').then((m) => m.Tab1Page),
- },
- {
- path: 'tab2',
- loadComponent: () =>
- import('../tab2/tab2.page').then((m) => m.Tab2Page),
- },
- {
- path: 'test-page',
- loadComponent: () =>
- import('../tab2/test-page/test-page.component').then((m) => m.TestPageComponent),
- },
- // {
- // path: 'tab3',
- // loadComponent: () =>
- // import('../tab3/tab3.page').then((m) => m.Tab3Page),
- // },
- {
- path: 'community',
- loadComponent: () =>
- import('../community/community.page').then((m) => m.CommunityPage),
- },
- {
- path: 'post-page',
- loadComponent: () =>
- import('../post-page/post-page.component').then((m) => m.PostPageComponent),
- },
- {
- path: 'share-page',
- loadComponent: () =>
- import('../share-page/share-page.component').then((m) => m.SharePageComponent),
- },
- {
- path: 'tab4',
- loadComponent: () =>
- import('../tab4/tab4.page').then((m) => m.Tab4Page),
- },
- {
- path: 'todolistpage',
- loadComponent: () =>
- import('../page/todolist-page/todolist-page.component').then(
- (m) => m.TodolistPageComponent
- ),
- },
- {
- path: 'aiplanpage',
- loadComponent: () =>
- import('../page/aiplan-page/aiplan-page.component').then(
- (m) => m.AiplanPageComponent
- ),
- },
- {
- path: 'aipicture',
- loadComponent: () =>
- import('../page/aipicture-page/aipicture-page.component').then(
- (m) => m.AipicturePageComponent
- ),
- },
- {
- path: 'taskchain',
- loadComponent: () =>
- import('../page/taskchain-page/taskchain-page.component').then(
- (m) => m.TaskchainPageComponent
- ),
- },
- {
- path: 'aichat',
- loadComponent: () =>
- import('../page/aichat-page/aichat-page.component').then(
- (m) => m.AichatPageComponent
- ),
- },
- {
- path: '',
- redirectTo: '/tabs/tab1',
- pathMatch: 'full',
- },
- ],
- },
- {
- path: '',
- redirectTo: '/tabs/tab1',
- pathMatch: 'full',
- },
- ];
|