goBack several times

Iā€™m working with svelte, and I need to go back several times instead of one using f7router.back();

How could I acheive this?

You need to pass url and force of the page you want to get back to, for example if you have the following navigation stack in your app:
/home/ ā†’ /catalog/ ā†’ /item/

To navigate back from Item to Home: f7router.back('/home/', { force: true })

2 Likes