This allows users to control the `preact` version independently of fresh itself.
8 lines
212 B
TypeScript
8 lines
212 B
TypeScript
/** @jsx h */
|
|
import { h } from "preact";
|
|
import { UnknownPageProps } from "$fresh/runtime.ts";
|
|
|
|
export default function NotFoundPage({ url }: UnknownPageProps) {
|
|
return <p>404 not found: {url.pathname}</p>;
|
|
}
|