Skip to content

Upgrading @vite-pwa/nuxt 0.7 to 0.8

Breaking0.7.0 → 0.8.1Breaking1New1

BreakingUpgrade verdict

1 breaking change.

  • PWA asset paths are now resolved relative to the Vite root folder rather than the Nuxt root folder, so projects where these differ may need path adjustments.
1 item needs code or config changes
Breaking1
Uses the Vite root instead of the Nuxt root to resolve PWA assets.

Generated by DepDelta from published .d.ts files. Not mixed with prose notes.

  • changed: property PwaInjection.install: () => Promise<void> → property PwaInjection.install: () => Promise<UserChoice | undefined>
  • added: interface UserChoice
  • added: property UserChoice.outcome: 'accepted' | 'dismissed'
  • added: property UserChoice.platform: string
  • added: type BeforeInstallPromptEvent = Event & { prompt: () => void; userChoice: Promise<UserChoice> }