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

x/fastro/mod.ts>Page

Full Stack Framework for Deno, TypeScript, Preact JS and Tailwind CSS
Go to Latest
type alias Page
import { type Page } from "https://deno.land/x/fastro@v0.93.2/mod.ts";

Define the page component, layout, handler and its folder

Type Parameters

optional
T = any
definition: { component: FunctionComponent | JSX.Element; layout: Layout<T>; handler: Handler; script?: string; folder?: string; }