How to nav to root?


#1

Hello guys!

After update my project ionic 2 to beta.7, I’m facing problem with nav to root.

On execute:
this.nav.popToRoot(); //nav ->NavController

Show me an error: remove index out of range and don’t change page to root.

How to nav to root?


#2

Resolved.

I did this:
this.nav.rootNav.setRoot(LoginPage)

And my ionic tabs project, nav to root (LoginPage)