Initialize tanstack/start

This commit is contained in:
2024-09-02 20:04:44 +02:00
parent 16ae786e11
commit fb8a9ce6e2
11 changed files with 8180 additions and 0 deletions

14
app/routes/index.tsx Normal file
View File

@ -0,0 +1,14 @@
import { createFileRoute, useRouter } from '@tanstack/react-router'
export const Route = createFileRoute('/')({
component: Home,
})
function Home() {
const router = useRouter()
const state = Route.useLoaderData()
return (
<h1>Hello World();</h1>
)
}