WebUI setup

This commit is contained in:
Julien Valverdé
2024-07-06 21:33:31 +02:00
parent 51077765e5
commit 73bee895b1
14 changed files with 179 additions and 3 deletions

View File

@@ -0,0 +1,23 @@
import { useState } from "react"
export function App() {
const [count, setCount] = useState(0)
return (
<>
<h1>Vite + React</h1>
<div className="card">
<button onClick={() => setCount((count) => count + 1)}>
count is {count}
</button>
<p>
Edit <code>src/App.tsx</code> and save to test HMR
</p>
</div>
<p className="read-the-docs">
Click on the Vite and React logos to learn more
</p>
</>
)
}