Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230310

Application is not navigating to proper page

$
0
0

Hello,
Please change your const routes variable in app-routing.module.ts like below. It worked on you shared domain.

const routes: Routes = [
   {
     path: '',
     redirectTo: 'folder/Inbox',
     pathMatch: 'full'
   },
   {
     path: 'folder/:id',
     loadChildren: () => import('./folder/folder.module').then( m => m.FolderPageModule)
   },
   {path: 'pageA', component: PageAComponent},
  {path: 'pageB', component: PageBComponent},
  {path: 'pageC', component: PageCComponent},
  {path: '', component: LandingPageComponent, pathMatch: 'full'}
];

Viewing all articles
Browse latest Browse all 230310

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>