Spaces:
Build error
Build error
import { | |
type RouteConfig, | |
layout, | |
index, | |
route, | |
} from "@react-router/dev/routes"; | |
export default [ | |
layout("routes/root-layout.tsx", [ | |
index("routes/home.tsx"), | |
route("accept-tos", "routes/accept-tos.tsx"), | |
route("settings", "routes/settings.tsx", [ | |
index("routes/llm-settings.tsx"), | |
route("mcp", "routes/mcp-settings.tsx"), | |
route("user", "routes/user-settings.tsx"), | |
route("git", "routes/git-settings.tsx"), | |
route("app", "routes/app-settings.tsx"), | |
route("billing", "routes/billing.tsx"), | |
route("secrets", "routes/secrets-settings.tsx"), | |
route("api-keys", "routes/api-keys.tsx"), | |
]), | |
route("conversations/:conversationId", "routes/conversation.tsx", [ | |
index("routes/changes-tab.tsx"), | |
route("browser", "routes/browser-tab.tsx"), | |
route("jupyter", "routes/jupyter-tab.tsx"), | |
route("served", "routes/served-tab.tsx"), | |
route("terminal", "routes/terminal-tab.tsx"), | |
route("vscode", "routes/vscode-tab.tsx"), | |
]), | |
]), | |
] satisfies RouteConfig; | |