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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi!
I am trying to implement login/logout in my inertia+svelte app.
When logging in AND logging out, the proper layout is being used, but the rest of the page is empty, as if the page component is not called.
POST /login
==> redirect 302
I only get the "logged" layout displayed (as it should), but the dashboard is not displayed in the main slot.
The same thing happens when logging out.
Even when clicking internal links after that, the main slot is NEVER updated with the page content, until I refresh (F5) the browser tab.
Surely I did something wrong somewhere, as I am totally new to this.
Does it ring any bells?
Logged layout:
Best,
Beta Was this translation helpful? Give feedback.
All reactions