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

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?

Your routes are not being defined properly.
For having sub routes like ‘.tabs/home’ you need to first define the route for ‘tabs’; then you need to add the sub routes as children along with the ‘tabs’ route. This can be found in detail from angular routing. I believe some thing like this will satisfy your requirement refer: https://github.com/ionic-team/ionic/blob/master/CHANGELOG.md#angular-tabs.