Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (43 sloc) 1.16 KB
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { RouterModule, Routes } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { TabsPage } from './tabs.page';
const routes: Routes = [
{
path: '',
component: TabsPage,
children: [
{
path: 'shared',
loadChildren: './pages/shared/shared.module#SharedPageModule'
},
{
path: 'wanted',
loadChildren: './pages/wanted/wanted.module#WantedPageModule'
},
{
path: 'chats',
loadChildren: './pages/chats/chats.module#ChatsPageModule'
},
{
path: 'boxes',
loadChildren: './pages/boxes/boxes.module#BoxesPageModule'
},
{
path: 'me',
loadChildren: './pages/me/me.module#MePageModule'
},
{
path: 'moderate',
loadChildren: './pages/moderate/moderate.module#ModeratePageModule'
}
]
}
];
@NgModule({
imports: [CommonModule, FormsModule, IonicModule, RouterModule.forChild(routes)],
declarations: [TabsPage]
})
export class TabsPageModule {}
You can’t perform that action at this time.