[WEB-5042] feat: sites vite migration (#7965)
This commit is contained in:
parent
315e1d5eb0
commit
118ecc81ba
126 changed files with 1062 additions and 739 deletions
10
apps/space/app/routes.ts
Normal file
10
apps/space/app/routes.ts
Normal 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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue