diff --git a/plugins/pwa.client.ts b/plugins/pwa.client.ts index dfa60334..e8a02735 100644 --- a/plugins/pwa.client.ts +++ b/plugins/pwa.client.ts @@ -37,6 +37,9 @@ export default defineNuxtPlugin(() => { registrationError.value = true }, onRegisteredSW(swUrl, r) { + if (useRuntimeConfig().public.tauriPlatform) + return + // should add support in pwa plugin if (r?.active?.state === 'activated') { swActivated.value = true