Stone.js API
    Preparing search index...

    Interface PrerenderTarget<ParamsType>

    A single unit of work for static generation: a route to pre-render at build time.

    interface PrerenderTarget<ParamsType = Record<string, string>> {
        params?: ParamsType;
        path: string;
    }

    Type Parameters

    • ParamsType = Record<string, string>

      The route params for a parameterized route.

    Index
    params?: ParamsType

    Route params (for parameterized routes).

    path: string

    The URL path to render (e.g. /blog/hello-world).