vite-pwa / sveltekit

Zero-config PWA Plugin for SvelteKit
https://vite-pwa-org.netlify.app/frameworks/sveltekit
MIT License
324 stars 15 forks source link

feat!: add SvelteKit 2 support #76

Closed userquin closed 11 months ago

userquin commented 11 months ago

Navigation seems to be broken when changing the url, for example (even with export const trailingSlash = 'never'; in layout):

Previous test with disable: true in PWA configuration.

Maybe we need a breaking change and update the logic, we should include trailing and no trailing variant per route (html page).

I'll try to run the migration...

userquin commented 11 months ago

SvelteKit 2.0.1 fixes trailing slash: added Playwright offline + trailing slash test