Mohammed Elzein
Mohammed Elzein

Reputation: 33

ionic 2 tabs in all pages (including new pages)

I'm new to ionic2 and i want to create a shopping app that have both sidemenu layout for app navigation(categories,deals,settings,login,viewaccount,etc...). And 3 tabs (home,wishlist,cart), I have started new project based on tabs layout and managed to add sidemenu.

How i can keep the 3 tabs available for all existing pages including new pages that i want to create in the future? I want the tabs to be fixed for all pages and for the user to navigate to any of the tabs at anytime inside any page. Thank you.

Upvotes: 3

Views: 3326

Answers (2)

Sagar Kulkarni
Sagar Kulkarni

Reputation: 2081

You should use "tabs" of ionic 2 than "segments". As tabs are set as root of the navigation stack.

For tabs, refer this.

Or you might have to manually implement "segments" on all pages of the app.

For segments, refer this.

Upvotes: 0

Nakul Kundaliya
Nakul Kundaliya

Reputation: 542

download conference app from github.

https://github.com/driftyco/ionic-conference-app

You get every thing from there as per your requirement.

Upvotes: 4

Related Questions