[Vue] How to check where back button is going to route?


I am fairly new to F7/Vue, so pardon my ignorance. I have a pretty simple application that starts on a login screen when launched, and once the user is authenticated, they are sent to a dashboard that has a few other routes. I have back-link enabled through <f7-navbar back-link /> and that works well, except, I don’t want the back-link to show if it would take the user back to the login page. Any ideas how to accomplish this?


you can check current router history, e.g. check f7router.history array