Hi there,
is it possible to navigate back to the previous page in the page:init eventhandler?
My app uses stacked pages and have a sanity check in page:init. If the sanity check fails, I’d like to navigate back to the previous page, although this doesn’t work:
…
methods: {
onPageInit(e) {
if (!e.detail.route.context.enabled) {
e.detail.router.back();
}
}
}
I’m on F7-vue v3.4.2.
Thanks
Bálint