feat(web): vite+react+ts+tailwind4 scaffold, vitest, /api dev proxy

This commit is contained in:
2026-09-07 15:19:02 +08:00
parent b730b7acb4
commit 0cc040d750
11 changed files with 8293 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
export default function App() {
return <div className="p-8 text-zinc-400">booklib web</div>;
}
+17
View File
@@ -0,0 +1,17 @@
@import "tailwindcss";
html,
body,
#root {
height: 100%;
}
body {
@apply bg-zinc-950 text-zinc-100 antialiased;
}
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-thumb {
@apply rounded bg-zinc-700;
}
+5
View File
@@ -0,0 +1,5 @@
import { createRoot } from "react-dom/client";
import App from "./App";
import "./index.css";
createRoot(document.getElementById("root")!).render(<App />);