This commit updates fresh to use import maps instead of deps files in generated projects.
13 lines
216 B
TypeScript
13 lines
216 B
TypeScript
/** @jsx h */
|
|
|
|
import { asset, h } from "$fresh/runtime.ts";
|
|
|
|
export default function StaticPage() {
|
|
return (
|
|
<div>
|
|
<p>This is a static page.</p>
|
|
<img src={asset("/image.png")} />
|
|
</div>
|
|
);
|
|
}
|