You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create src/routes/login/+page.svelte with any content
Create src/routes/login/+page.ts with
import { browser } from "$app/environment";
import { preloadCode } from "$app/navigation";
import { base } from "$app/paths";
export function load() {
if (browser) {
preloadCode(base)
}
}
Run the dev server and navigate directly to /login
Describe the bug
Calling
preloadCode
during initial page load results inThis issue is present in @sveltejs/kit version 2.15.0 but not present in 2.14.0
Reproduction
https://github.com/WaltzingPenguin/sveltekit-preloadCode/tree/main/src/routes/login
/login
Logs
No response
System Info
Severity
blocking an upgrade
Additional Information
No response
The text was updated successfully, but these errors were encountered: