From Login page to tabs page

I’m trying to create my first app with Ionic Framework and I’m stuck. I want to have a login page before my tabs pages that is my main screen on my app and, I’m getting always same error of URL. Error: Cannot match any routes. URL Segment: ‘tabs/tab1’
Error: Cannot match any routes. URL Segment: ‘tabs/tab1’



  <ion-button (click)="toTabs()">To Tabs</ion-button>

I've tryed to navigate to '/tabs', to '/tabs/tab1' and to 'tabs' and I desperated. If anyone could help me I would be very grateful.

working. is this only for information?

I’ve already solved it, @Coy585. I use ‘’ to tabs and added this.platform.ready().then(() => { this.router.navigateByUrl('/login'); }); in app.component.ts

It’s working fine, I hope now you will not facing any issue (error).