Skip to content
TypeScript
187 B
Raw Blame
import { index, route, type RouteConfig } from "@react-router/dev/routes";

export default [
  index("routes/home.tsx"),
  route("api/hello", "routes/hello.ts"),
] satisfies RouteConfig;