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’
app-routing.module.ts
tabs.router.module.ts
login.page.ts
login.page
<ion-toolbar>
<ion-title>Login</ion-title>
</ion-toolbar>
</ion-header>
<ion-content>
<ion-button (click)="toTabs()">To Tabs</ion-button>
</ion-content>```
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.