Utilize the data from Svault to render on your svelte pages
event.locals
object. This allows you to display any necessary information you would like, client-side.
event.locals.username
in your +layout.server.ts
, and then call it on your +page.svelte
.event.locals.failure
object.