Files
sweet/tests/fixture/routes/static.tsx
T
Luca Casonato cbbf616a74 chore: version preact explicitly in import map (#258)
This allows users to control the `preact` version independently of fresh
itself.
2022-06-20 12:37:24 +02:00

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>
);
}