How can I delete all subpages from the vue router history when the user sign out? Because all pages remain in the memory … But i need use router history with router.push() - that means pages push to router history
FLOW
UserA sign in with their user/password
UserA is redirected to the profile page after the login
UserA do logout
UserB sign in with their user/password
UserB is redirected to the profile page after the login (and he see the UserA profile info)
you cannot do that with the ionic vue router… It seems you are not properly updating the state of the profile page, that is why it is showing the wrong information
what could be the solution?
the goal is:
a) load pages in case of first entry, then do not load again (ideally do not use ionViewWillEnter, but only created() or mounted())
b) move between pages with push() so that they are stored in memory (not replace())
this same still is true, you are programing your application flow incorrectly. I really cannot help anymore unless you provide some code, I have no idea how you are loading data on your pages