Module

x/fresh/server.ts>defineApp

The next-gen web framework.
Extremely Popular
Latest
function defineApp
import { defineApp } from "https://dotland.deno.dev/x/fresh@1.7.3/server.ts";

Parameters

fn: (req: Request, ctx: RouteContext<void, T>) => ComponentChildren | Response | Promise<ComponentChildren | Response>

Returns

AsyncLayout<void, T>