[WEB-5042] feat: sites vite migration (#7965)

This commit is contained in:
Prateek Shourya 2025-11-06 13:58:24 +05:30 committed by GitHub
parent 315e1d5eb0
commit 118ecc81ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
126 changed files with 1062 additions and 739 deletions

10
apps/space/app/routes.ts Normal file
View file

@ -0,0 +1,10 @@
import type { RouteConfig } from "@react-router/dev/routes";
import { index, layout, route } from "@react-router/dev/routes";
export default [
index("./page.tsx"),
route(":workspaceSlug/:projectId", "./[workspaceSlug]/[projectId]/page.tsx"),
layout("./issues/[anchor]/client-layout.tsx", [route("issues/:anchor", "./issues/[anchor]/page.tsx")]),
// Catch-all route for 404 handling
route("*", "./not-found.tsx"),
] satisfies RouteConfig;