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({
...
}).$mount('#app')
then
myApp.$f7.views.main.etc.etc
You can’t call anything from service worker directly, but you can send messages between them http://craig-russell.co.uk/2016/01/29/service-worker-messaging.html#.XWPUdxZn3Ds