-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blank page inside layout slot (+page.svelte not shown) #11954
Comments
Does it happen in incognito mode? I've recently experienced layout breaking in Workaround was to disable cache in the dev tools network tab and reload. |
No incognito mode
Finally I created a false page with a +layout.svelte in a random place in
my project and this fixed my issue.
I’ll later if I try to delete this if it does the same. I will try to
disable cache as you suggested.
…On Sun, Mar 10, 2024 at 12:27 PM Hyunbin ***@***.***> wrote:
Does it happen in incognito mode?
I've recently experienced layout breaking in vite dev.
Workaround was to disable cache in the dev tools network tab and reload.
—
Reply to this email directly, view it on GitHub
<#11954 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATFKSVZNZS5HX2CBU4LYBNDYXQ7S3AVCNFSM6AAAAABEMU2XA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGE4TEOBTGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hello, We have the exact same problem on a SvelteKit project with Svelte 5. I have no idea what is causing this, disabling the cache and so on does nothing. Even rebooting the project from scratch. It's also worth noting that this only happens during dev mode, not preview. |
npm vite --force |
Describe the bug
Hi,
Yesterday my project was running fine. I did maybe update some packages :
This morning, I just lauch my project and inside one of my root, I have a layout and a slot inside it.
This works inside +layout.svelte
but this doesn’t in +page.svelte
I could make it work by just copy/pasting content of +page.svelte, delete it, and recreate a file called +page.svelte and pasting previous content.
But it breaks again when leaving then relaunching
npm run dev
I tried reverting packages update but it does the same…
Reproduction
I have no idea how to reproduce. Happens only on the local version of my app.
Logs
System Info
Severity
annoyance
Additional Information
No response
The text was updated successfully, but these errors were encountered: