Skip to content

Search the guides, deployment pages, and API reference.

PrerenderOption

import type { PrerenderOption } from "@pitlane/vite-plugin-remix";
type PrerenderOption =
| PrerenderPathsOption
| PrerenderConfig;

Everything remix({ prerender }) accepts: true for every static path in the route map, false for none, an explicit path list, a function that computes one, or a PrerenderConfig that adds concurrency and spider.

See

Prerendering guide