feat: 本次提交更新内容如下

新项目模板初始化
This commit is contained in:
笔记本里的永平
2025-07-17 21:56:53 +08:00
parent 1c64a13058
commit 6a4e99885d
19 changed files with 339 additions and 0 deletions

23
nkebao/src/App.tsx Normal file
View File

@@ -0,0 +1,23 @@
import React from "react";
import { BrowserRouter, Routes, Route } from "react-router-dom";
import { Button } from "antd";
import { Button as MobileButton } from "antd-mobile";
import Home from "./pages/Home";
import About from "./pages/About";
function App() {
return (
<BrowserRouter>
<Routes>
<Route path="/" element={<Home />} />
<Route path="/about" element={<About />} />
</Routes>
<div style={{ margin: 16 }}>
<Button type="primary">Antd </Button>
<MobileButton color="primary">Antd-Mobile </MobileButton>
</div>
</BrowserRouter>
);
}
export default App;