Any ideas how to prerender a list of dynamic routes in SvelteKit whose slugs are saved in the database? In config.kit.prerender I can list them, but currently it's hard coded. Not sure if it's good to query the database for the build step? I could have a secret page with links to all these routes...
Post
i think exporting an `entries` function should be the solution? svelte.dev/docs/kit/pag...
svelte.devPage options β’ SvelteKit DocsPage options β’ SvelteKit documentation
No replies yet.