PWA on f7 svelte

hello everyone, i’m trying to create a self update script with a popup for my pwa application built with svelte framework7. can you help me?