Let’s say you have login page that takes two steps (pages).
On the first one you ask for the email, on the second one you ask for password (or send a magic link or login with SSO).
So you type the email, and when you click “next” we do a router.push() to the next view (password)
Let’s say now we type the password and click “login”.
If successfull, we would like to replace router with “/home” but we don’t want te user to tap on the back button and go back to the password.
On ionic v1 we had something like this:
$ionicViewService.nextViewOptions({
disableAnimate: true,
disableBack: true
});
How do we do this in ionic vue?
1 post - 1 participant