framework7io / framework7-vue

Deprecated! Build full featured iOS & Android apps using Framework7 & Vue
http://framework7.io/vue/
MIT License
674 stars 151 forks source link

Back fallback if history is empty #439

Closed etiennea closed 5 years ago

etiennea commented 6 years ago

This is a (multiple allowed):

So I have an app that works great but sometimes via direct links people can get to pages that have back buttons but no history. I am wondering if it would be possible to add a global option that would control how a back link behaves if there is nowhere to go back to (eg: load /home).

I realise I can force a url but writing the logic that checks if the history is empty on every back and then toggles force is quite tedious.

Thanks!