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

x/fresh/src/server/mod.ts>PluginRoute

The next-gen web framework.
Extremely Popular
Go to Latest
interface PluginRoute
import { type PluginRoute } from "https://deno.land/x/fresh@1.6.5/src/server/mod.ts";

Properties

path: string

A path in the format of a filename path without filetype

optional
component:
| ComponentType<PageProps>
| ComponentType<AppProps>
| AsyncRoute
| AsyncLayout
optional
handler: Handler<any, any> | Handlers<any, any>