Initial commit

This commit is contained in:
2025-03-28 13:13:09 +03:00
commit 3adf0b280d
19 changed files with 609 additions and 0 deletions

12
src/app.tsx Normal file
View File

@@ -0,0 +1,12 @@
import { useSignal } from "@preact/signals";
import "preact/debug";
import classes from "./app.module.scss";
export function App() {
const counter = useSignal(0);
return (
<>
<h1 class={classes.text}>Hello, World!</h1>
<button onClick={() => counter.value++}>Count: {counter.value}</button>
</>
);
}