Static output and prerendering
A route with export const prerender = true (no params) or export const prerender = ["/posts/1", "/posts/2"] is rendered to dist/client/<path>/index.html at build…
A route with export const prerender = true (no params) or export const prerender = ["/posts/1", "/posts/2"] is
rendered to dist/client/<path>/index.html at build time. A route with export const ssr = false is prerendered as the
empty application shell instead, and the request handler answers that shell for it too ("data-only" runs the loaders
and sends their data without markup); see Routing.
prerender() from @shadow-js/dusk/static renders any list of paths with any handler and also writes 200.html
(the shell, for single-page-app fallbacks) and 404.html, which is your root layout's notFound page when it has one.