-
-
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
no longer able to create adapter-static site where all pages are prerendered #6480
Comments
Note that if I add a fallback option and host the generated files on a normal web server, all I get is 404s obviously since no html pages are generated for |
You need to set |
@Conduitry @dummdidumm this gets rid of the error message however it still does not work. I need to specify a fallback option. If I do, then I still dont get the expected output |
to be precise. I dont want a SPA. I want a fully rendered website. |
Chopping the mutative actions out of |
I updated https://stackblitz.com/edit/sveltejs-kit-template-default-cv4bx4?file=svelte.config.js and deleted the whole Here is the repro repo https://stackblitz.com/edit/sveltejs-kit-template-default-cv4bx4?file=svelte.config.js. Try and execute Also note that I have to add a |
Again, you need to put |
sorry my bad, I had |
const config = {
kit: {
adapter: adapter({ fallback: 'index.html' }),
// Override http methods in the Todo forms
methodOverride: {
allowed: ['PATCH', 'DELETE']
},
prerender: {
entries: [
"*", "/slug3", "/slug4"
]
}
}
}; |
hm, I guess then the documentation in https://kit.svelte.dev/docs/configuration#prerender needs a bit of an update since |
Describe the bug
as of #6197 it does not seem to be able to build a fully pre-rendered static site anymore.
We previously used
adapter-static
along with the(note that not all pages are reachable via links).
Now I get the error
and
Reproduction
https://stackblitz.com/edit/sveltejs-kit-template-default-cv4bx4?file=svelte.config.js
Logs
System Info
Severity
blocking an upgrade
Additional Information
No response
The text was updated successfully, but these errors were encountered: