feat: a new "island" based architechture (#97)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
/** @jsx h */
|
||||
import { h } from "../client_deps.ts";
|
||||
import Counter from "../islands/Counter.tsx";
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<div>
|
||||
<p>
|
||||
Welcome to `fresh`. Try update this message in the ./routes/index.tsx
|
||||
file, and refresh.
|
||||
</p>
|
||||
<Counter start={3} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user