packages/docs/src/routes/api/qwik-city-vite-cloudflare-pages/index.mdx
export declare function cloudflarePagesAdapter(
opts?: CloudflarePagesAdapterOptions,
): any;
Parameter
</th><th>Type
</th><th>Description
</th></tr></thead> <tbody><tr><td>opts
</td><td> </td><td>(Optional)
</td></tr> </tbody></table>Returns:
any
<h2 id="cloudflarepagesadapteroptions">CloudflarePagesAdapterOptions</h2>export interface CloudflarePagesAdapterOptions extends ServerAdapterOptions
Extends: ServerAdapterOptions
<table><thead><tr><th>Property
</th><th>Modifiers
</th><th>Type
</th><th>Description
</th></tr></thead> <tbody><tr><td> </td><td> </td><td>boolean
</td><td>(Optional) Determines if the build should generate the function invocation routes _routes.json file.
https://developers.cloudflare.com/pages/platform/functions/routing/\#functions-invocation-routes
Defaults to true.
string[]
</td><td>(Optional) Manually add pathnames that should be treated as static paths and not SSR. For example, when these pathnames are requested, their response should come from a static file, rather than a server-side rendered response.
</td></tr> </tbody></table>