Hello all,
I am facing an error while routing inside my app.
The problem is this.
I have a tabs page and my app.routing code this:
const routes: Routes = [
{ path: '', loadChildren: './tabs/tabs.module#TabsPageModule' },
{ path: 'account', loadChildren: './account/account.module#AccountPageModule' },
];
@NgModule({
imports: [
RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules })
],
exports: [RouterModule]
})
But when the app is initialized another page “signin.page” which is not declared in the routes is loading as home page. The signin.page is a modal page by the way.
Struck with this from yesterday
Please help!! Thaks in advance.