Initial commit: ONE-OS project
Made-with: Cursor
This commit is contained in:
15
src/App.tsx
Normal file
15
src/App.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import { BrowserRouter, Routes, Route } from 'react-router-dom';
|
||||
import VehicleManage from '@/pages/VehicleManage';
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<BrowserRouter>
|
||||
<Routes>
|
||||
<Route path="/" element={<VehicleManage />} />
|
||||
<Route path="/vehicle/:id" element={<VehicleManage />} />
|
||||
</Routes>
|
||||
</BrowserRouter>
|
||||
);
|
||||
}
|
||||
|
||||
export default App;
|
||||
Reference in New Issue
Block a user