tbeg-web/src/App.tsx

17 lines
376 B
TypeScript
Raw Normal View History

2022-03-11 04:39:30 +08:00
import { BrowserRouter, Route, Routes } from "react-router-dom";
import Home from "./pages/home";
import Dashboard from "./pages/dashboard";
2022-03-09 00:43:05 +08:00
function App() {
return (
2022-03-11 04:39:30 +08:00
<BrowserRouter>
<Routes>
<Route path="/" element={<Home />} />
<Route path="/dashboard" element={<Dashboard />} />
</Routes>
</BrowserRouter>
);
2022-03-09 00:43:05 +08:00
}
2022-03-11 04:39:30 +08:00
export default App;