This allows users to control the `preact` version independently of fresh itself.
13 lines
240 B
TypeScript
13 lines
240 B
TypeScript
/** @jsx h */
|
|
import { h } from "preact";
|
|
import { asset } from "$fresh/runtime.ts";
|
|
|
|
export default function StaticPage() {
|
|
return (
|
|
<div>
|
|
<p>This is a static page.</p>
|
|
<img src={asset("/image.png")} />
|
|
</div>
|
|
);
|
|
}
|