Skip to content
Discussion options

You must be logged in to vote

Thinking about it and doing some research, I came to the conclusion that this is not possible with SvelteKit. Visiting a dynamic route means that the static file server always serves the fallback file. Which means, to modify how the response to the dynamic route looks, I would need to prerender the TopNav and LoadingSpinner component into the fallback file. Which is not possible with SvelteKit right now.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lennartkloock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant