Why do I have to set prerender = true with adapter-static ?
#14130
Unanswered
guillaume-mueller
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.
Uh oh!
There was an error while loading. Please reload this page.
-
It seems to me redundant. When
prerenderis not set, therun buildcomplains "all routes must be fully prerenderable", so why do I have to set a parameter I have no choice on the value ?Creating a project via
npx sv createin choosingadapter-staticthen without having touched anything launchingrun buildfails becauseprerenderis not set.Isn't it a design flaw and a source of confusion ?
EDIT: I understand here that there is something about that it could fallback to SPA, but I don't understand in what SPA wouldn't be compatible with prerendering.
Beta Was this translation helpful? Give feedback.
All reactions