Framework7-Vue close and remove certain page from view history

Hi, is there a way to close and remove a specific page from a views history?

["/", “/page1/”, “/page2/”, “/page3/”, “/page4/”]

What i’m trying to achieve is to add a watcher on those pages that on specific changes close and remove them selfs from views history and DOM.

Not really, there are few router methods like clearPreviousHistory() but they won’t allow to remove specifi page. You can try to directly modify router.history array and then call router.saveHistory()

Thank you for the suggestion.

It did not worked for my workflow at least. I changed the workflow to a better one as it proved to be, and i don’t have to close pages anymore.