Skip to content

Dynamic route not prerendered with adapter-static #8688

Answered by eltigerchino
Mrbeyond asked this question in Q&A
Discussion options

You must be logged in to vote

The builder crawls your website to look for links such as /home/manifolds/123 to know how to prerender that dynamic route. It cannot prerender the route without knowing what the value of [id] is or how many there of them there are.

Otherwise, you can explicitly specify them in svelte.config.js under config.kit.prerender.entries.
See the docs for more info about that config option.
https://kit.svelte.dev/docs/configuration#prerender

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@eltigerchino
Comment options

@Mrbeyond
Comment options

@Mrbeyond
Comment options

@eltigerchino
Comment options

@Mrbeyond
Comment options

Answer selected by Mrbeyond
Comment options

You must be logged in to vote
0 replies
Comment options

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