Sithu Khant
Sithu Khant
TtRPC
Created by Sithu Khant on 1/29/2025 in #❓-help
react router v7 framework and trpc
done
20 replies
TtRPC
Created by Sithu Khant on 1/29/2025 in #❓-help
react router v7 framework and trpc
I can't dm you
20 replies
TtRPC
Created by Sithu Khant on 1/29/2025 in #❓-help
react router v7 framework and trpc
I don't need?
20 replies
TtRPC
Created by Sithu Khant on 1/29/2025 in #❓-help
react router v7 framework and trpc
How can I add trpc routes to that?
20 replies
TtRPC
Created by Sithu Khant on 1/29/2025 in #❓-help
react router v7 framework and trpc
like this:
import { type RouteConfig, index } from "@react-router/dev/routes";
import { route } from "@react-router/dev/routes";

export default [
index("routes/home.tsx"),
route("subscriptions", "routes/subscriptions.tsx"),
] satisfies RouteConfig;
import { type RouteConfig, index } from "@react-router/dev/routes";
import { route } from "@react-router/dev/routes";

export default [
index("routes/home.tsx"),
route("subscriptions", "routes/subscriptions.tsx"),
] satisfies RouteConfig;
20 replies
TtRPC
Created by Sithu Khant on 1/29/2025 in #❓-help
react router v7 framework and trpc
I mean in the react router v7 as framework, there is a file called routes.ts for routing.
20 replies
TtRPC
Created by Sithu Khant on 1/29/2025 in #❓-help
react router v7 framework and trpc
btw, thank you for helping me, it is still giving me headaches!
20 replies
TtRPC
Created by Sithu Khant on 1/29/2025 in #❓-help
react router v7 framework and trpc
hey, can we talk here? @!wild_duck 🦆🤍🚶
20 replies