loading...

Discussion on: Handling Service Worker updates in your Vue PWA

Collapse
positivethinking639 profile image
positivethinking639

I try another option like this : methods: {
updateAvailable (event) {
this.registration = event.detail
this.updateExists = true
this.refreshApp()
}
. So if detect new version, it immediately called refreshApp method. So user don't need to click the update button