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;
createQwikRouter
export declare function createQwikRouter(
opts: QwikRouterVercelEdgeOptions,
): (request: Request) => Promise<Response>;
Parameter
Type
Description
opts
(request: Request) => Promise<Response>
PlatformVercel
export interface PlatformVercel
QwikCityVercelEdgeOptions
Warning: This API is now obsolete.
Use
QwikRouterVercelEdgeOptions
instead. Will be removed in V3
export type QwikCityVercelEdgeOptions = QwikRouterVercelEdgeOptions;
References: QwikRouterVercelEdgeOptions
QwikRouterVercelEdgeOptions
export interface QwikRouterVercelEdgeOptions extends ServerRenderOptions
Extends: ServerRenderOptions