This allows users to control the `preact` version independently of fresh itself.
16 lines
322 B
TypeScript
16 lines
322 B
TypeScript
/** @jsx h */
|
|
/** @jsxFrag Fragment */
|
|
import { Fragment, h } from "preact";
|
|
import { AppProps, Head } from "$fresh/runtime.ts";
|
|
|
|
export default function App(props: AppProps) {
|
|
return (
|
|
<>
|
|
<Head>
|
|
<meta name="description" content="Hello world!" />
|
|
</Head>
|
|
<props.Component />
|
|
</>
|
|
);
|
|
}
|