In my <f7-app>
I have a popup:
<f7-popup id="login-popup">
<f7-view url="/login/" name="login-popup" links-view="#login-popup .view" class="ios-edges" />
</f7-popup>
There is some problems and things I’m having difficulties to grasp:
-
url="/login/"
doesn’t seem to work (the popup opens in my home/
). I have solved this issue using:
<f7-popup id="login-popup">
<f7-view url="/login/" name="login-popup" links-view="#login-popup .view" class="ios-edges">
<login /> <!-- Login.vue page -->
</f7-view>
</f7-popup>
but it smells like a hack =\
- The login will be a wizard, meaning I will navigate inside this popup. The problem is: when I close the popup, the wizard should be reset to the root
/login/
page. Again,$f7router.clearHistory()
seems like a hack (and I don’t even know if it will work).
TL;DR:
Basically, I need a navigable set of pages to be show every time the user access a protected page. Each time, the popup should have a brand new state.