Add Partials (#1824)

This commit is contained in:
Marvin Hagemeister
2023-09-27 13:34:30 +02:00
committed by GitHub
parent d9829e25e6
commit 665d35bbc2
92 changed files with 3271 additions and 116 deletions
@@ -0,0 +1,20 @@
import { RouteConfig } from "$fresh/server.ts";
import { Fader } from "../../islands/Fader.tsx";
import CounterB from "../../islands/CounterB.tsx";
export const config: RouteConfig = {
skipAppWrapper: true,
};
export default function PageB() {
return (
<Fader>
<i>something before</i>
<div>
<h1>Page B</h1>
</div>
<CounterB />
<p>asdfasdf asdf asdf</p>
</Fader>
);
}