feat: add routing (#4)
This commit is contained in:
17
src/routes.tsx
Normal file
17
src/routes.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import React from "react";
|
||||
import { Routes, Route } from "react-router-dom";
|
||||
import Arm from "./pages/arm";
|
||||
import Order from "./pages/order-view";
|
||||
import Landing from "./pages/landing";
|
||||
|
||||
const Routers = () => {
|
||||
return (
|
||||
<Routes>
|
||||
<Route path="/dry-wash-pl" element={<Landing />}></Route>
|
||||
<Route path="/dry-wash-pl/order" element={<Order />}></Route>
|
||||
<Route path="/dry-wash-pl/arm" element={<Arm />}></Route>
|
||||
</Routes>
|
||||
);
|
||||
};
|
||||
|
||||
export default Routers;
|
||||
Reference in New Issue
Block a user