+layout.server.ts not working!? #6831
Unanswered
yoh-extradat
asked this question in
Q&A
Replies: 1 comment
-
|
Caused by Houdini. Will open an issue over there |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am not sure if i am using +layout.server.ts wrong, but i would expect it to work the same way +page.server.ts but provide data for the colocated +layout.svelte file.
However, that seems currently not to be the case
Page
/routes/page/+page.server.ts
/routes/page/+page.svelte
rendered page
Layout
/routes/layout/+layout.server.ts
/routes/layout/+layout.svelte
rendered Layout
Beta Was this translation helpful? Give feedback.
All reactions