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

Error: Cannot match any routes. URL Segment: 'tabs/home'

$
0
0

I’m trying to show a landing page first, then with a button to navigate to tabs module.

app-routing.module.ts:

const routes: Routes = [
  { path: '', loadChildren: './pages/authorize/authorize.module#AuthorizePageModule' },
];

authorize.page.ts:
this.router.navigateByUrl('/tabs/home');

I get the following error:
Error: Cannot match any routes. URL Segment: 'tabs/home'

Any help, please?


Viewing all articles
Browse latest Browse all 229897

Trending Articles