feat: implement PWA update prompt and manual reload

This commit is contained in:
2026-02-10 21:16:28 +01:00
parent 81ed97b263
commit e39ac9a794
5 changed files with 122 additions and 23 deletions

View File

@@ -9,6 +9,7 @@ import GuidePanel from './components/GuidePanel.vue';
import WinModal from './components/WinModal.vue';
import CustomGameModal from './components/CustomGameModal.vue';
import FixedBar from './components/FixedBar.vue';
import ReloadPrompt from './components/ReloadPrompt.vue';
// Main App Entry
const store = usePuzzleStore();
@@ -173,6 +174,7 @@ onUnmounted(() => {
<Teleport to="body">
<WinModal v-if="store.isGameWon" />
<CustomGameModal v-if="showCustomModal" @close="showCustomModal = false" />
<ReloadPrompt />
</Teleport>
</main>
</template>