Difference between "prerender" in root layout and "adapter-static"? #9896
Unanswered
MikeMcDonald83
asked this question in
Q&A
Replies: 0 comments
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'm making a static site that can be built from external documents and Svelte components. It will be hosted on GitHub Pages. In the tutorial for SvelteKit page options, it says,
In the reference (which I found by Googling "sveltekit ssg") it says to use the
adapter-static
adapter for SSG. I'm not saying these are contradictory. I am just wondering what the difference is. For example, do the two options affect CSR plumbing in different ways? Does the adapter do stricter tests? Is it bad practice to skip the adapter?Somewhat relatedly, the
adapter-static
readme says,What is meant by "different adapter"? Does that include no adapter? Does that include the default adapter, if such a thing exists? The ambiguity is a little confusing, like you might need a specific unnamed adapter.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions