API โ€บ @qwik.dev/qwik-router/middleware/vercel-edge

createQwikCity

Warning: This API is now obsolete.

Use createQwikRouter instead. Will be removed in V3

createQwikCity: typeof createQwikRouter;

Edit this section

createQwikRouter

export declare function createQwikRouter(
  opts: QwikRouterVercelEdgeOptions,
): (request: Request) => Promise<Response>;

Parameter

Type

Description

opts

QwikRouterVercelEdgeOptions

(request: Request) => Promise<Response>

Edit this section

PlatformVercel

export interface PlatformVercel

Edit this section

QwikCityVercelEdgeOptions

Warning: This API is now obsolete.

Use QwikRouterVercelEdgeOptions instead. Will be removed in V3

export type QwikCityVercelEdgeOptions = QwikRouterVercelEdgeOptions;

References: QwikRouterVercelEdgeOptions

Edit this section

QwikRouterVercelEdgeOptions

export interface QwikRouterVercelEdgeOptions extends ServerRenderOptions

Extends: ServerRenderOptions

Edit this section