Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/live/runtime/fresh/plugin.ts>PluginRoute

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Go to Latest
interface PluginRoute
import { type PluginRoute } from "https://deno.land/x/live@1.96.2/runtime/fresh/plugin.ts";

Properties

path: string

A path in the format of a filename path without filetype

optional
component: ComponentType<any>
optional
handler: (req: Request, ctx: { render: (data: unknown) => Promise<Response> | Response; state: any; }) => Promise<Response> | Response