diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2025-06-24 13:29:50 +0200 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2025-06-24 13:29:50 +0200 |
| commit | 894e67863dbb89a4819e825fcdf7117021082b2a (patch) | |
| tree | fb544ef7fa99ff86489717e793595f503783bb72 /src/frontend/app/routes.tsx | |
| parent | 7dd9ea97a2f34a35e80c28d59d046f839eb6c60b (diff) | |
Replace leaflet for maplibre, use react-router in framework mode
Diffstat (limited to 'src/frontend/app/routes.tsx')
| -rw-r--r-- | src/frontend/app/routes.tsx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/frontend/app/routes.tsx b/src/frontend/app/routes.tsx new file mode 100644 index 0000000..1bca5e8 --- /dev/null +++ b/src/frontend/app/routes.tsx @@ -0,0 +1,9 @@ +import { type RouteConfig, index, route } from "@react-router/dev/routes"; + +export default [ + index("routes/index.tsx"), + route("/stops", "routes/stoplist.tsx"), + route("/map", "routes/map.tsx"), + route("/estimates/:id", "routes/estimates-$id.tsx"), + route("/settings", "routes/settings.tsx") +] satisfies RouteConfig; |
