@max Well I have made some progress with navigation but I am not sure if that is correct or not because though I am able to navigate but the browser console gives an error saying [ion-router] the path does not match any route
And in the url of my app I see the following
See that #/new-page
Rather I was expecting something like this:
And here is my HTML code:
<ion-router>
<ion-route url="/new-page" component="new-page"></ion-route>
</ion-router>
<ion-nav></ion-nav>
<ion-tabs>
<!-- Tab views -->
<ion-tab tab="new-page">
<ion-nav></ion-nav>
</ion-tab>
<!-- Tab bar -->
<ion-tab-bar slot="bottom">
<ion-tab-button tab="new-page" selected=true href="/new-page">
<ion-icon name="person"></ion-icon>
</ion-tab-button>
</ion-tab-bar>
</ion-tabs>
As suggested I have used the same naming convention as in the example above. The only way my navigation is working because of the href attribute in ion-tab-button tag.
Please help