Making route change from outside of vue app. desperate!

Hello i’m tring to change $f7router from outside of vue application from a sw.js where so i need to use window to access the router method anyone done it before

never done it, but you can try like this;

window.myApp = new Vue({



You can’t call anything from service worker directly, but you can send messages between them