- restructure from src/ + server/ to src/client/ + src/server/ + src/shared/ - switch backend runtime from Node (tsx) to Bun - merge server/package.json into root, remove @hono/node-server + tsx - convert server @/ imports to relative paths - standardize biome config (lineWidth 80, quoteStyle double) - add CLAUDE.md, .env.example at root - update vite.config, tsconfig, deploy.sh for new structure Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
14 lines
227 B
TypeScript
14 lines
227 B
TypeScript
import { Outlet, createRootRoute } from "@tanstack/react-router"
|
|
|
|
function RootComponent() {
|
|
return (
|
|
<div className="h-dvh">
|
|
<Outlet />
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export const Route = createRootRoute({
|
|
component: RootComponent,
|
|
})
|