I have the normal workflow of an app with login: First page is the login screen and you get to the tabs page after login. Now I’m trying to implement a logout button. But if I use
the tabbar is still displayed.
I also tried to use
@ViewChild(‘myNav’) nav: NavController
which turns out to be undefined.
Any advice how to make a logout with goes back to Login without the tabbar?
I created a minimum example if someone wants to try it himself. I’m happy to send the src folder if needed