Tailwind setup

This commit is contained in:
Julien Valverdé
2024-07-07 21:41:54 +02:00
parent a8f2df8512
commit b89ecc6526
7 changed files with 32 additions and 20 deletions

View File

@@ -1,23 +1,10 @@
import { useState } from "react"
import "./index.css"
import { TRPCClientProvider } from "./trpc/TRPCClientProvider"
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>
</>
)
return (
<TRPCClientProvider>
</TRPCClientProvider>
)
}