This commit is contained in:
rex
2025-08-28 14:30:06 +08:00
parent bd804045e6
commit 8dd468a5e3
21 changed files with 2143 additions and 81 deletions

21
src/pages/home/index.tsx Normal file
View File

@@ -0,0 +1,21 @@
import "./index.css";
import { useGlobalStore } from "@/store/global";
function Home() {
const { count, increment } = useGlobalStore((state) => state);
return (
<>
<div>
<div className="text-3xl font-bold underline">Hello World</div>
</div>
<h1>Vite + React</h1>
<button type="button" onClick={increment}>
Increment
</button>
<p>Count: {count}</p>
</>
);
}
export default Home;