Add routing foundation to compliance-portal

Wire up react-router with a root layout route and an index home page,
following the single-arborescence conventions: pages live under pages/,
routes are built from AppRoute via routeFromAppRoute, and route bundles
load lazily behind a Suspense fallback.

Add the @probo/routes and @probo/react-lazy workspace dependencies that
the route setup relies on.

Signed-off-by: Émile Ré <emile@probo.com>
This commit is contained in:
Émile Ré
2026-06-22 19:16:17 +02:00
parent eabf46c5cb
commit 023fb70a58
7 changed files with 109 additions and 5 deletions

View File

@@ -10,6 +10,8 @@
"preview": "vite preview"
},
"dependencies": {
"@probo/react-lazy": "1.0.0",
"@probo/routes": "1.0.0",
"@probo/ui": "1.0.0",
"clsx": "^2.1.1",
"react": "^19.2.7",