-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[docs] adapter-static: document prerender.default and info about disabling ssr in dev #4304
Conversation
|
Co-authored-by: Ben McCann <[email protected]>
thanks! |
#4192 introduced a configuration setting for prerendering by default, which explicitly has to be set to true for adapter-static to work in non-SPA mode. Currently adapter-static only tells the user to do so when actually building, but having it in the docs is good for obvious reasons.
I also lumped in a small mention about disabling ssr in the handle() hook, to make developing an SPA with svelte-kit aligned with how it will actually works when built. I hope it's okay that I made a single PR for two changes, just let me know if changes are required!
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
Tests
pnpm test
and lint the project withpnpm lint
andpnpm check
Changesets
pnpx changeset
and following the prompts. All changesets should bepatch
until SvelteKit 1.0