chore: version preact explicitly in import map (#258)
This allows users to control the `preact` version independently of fresh itself.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import { h, UnknownPageProps } from "$fresh/runtime.ts";
|
||||
import { h } from "preact";
|
||||
import { UnknownPageProps } from "$fresh/runtime.ts";
|
||||
|
||||
export default function NotFoundPage({ url }: UnknownPageProps) {
|
||||
return <p>404 not found: {url.pathname}</p>;
|
||||
|
||||
Reference in New Issue
Block a user