add react router

This commit is contained in:
Aman Varshney
2025-04-02 19:50:38 +05:30
parent 6325e647ce
commit dafefb8449
78 changed files with 2160 additions and 748 deletions

View File

@@ -18,7 +18,10 @@ export async function getExamplesChoice(
if (database === "none") return [];
const hasWebFrontend = frontends?.includes("web");
const hasWebFrontend =
frontends?.includes("react-router") ||
frontends?.includes("tanstack-router");
if (!hasWebFrontend) return [];
let response: ProjectExamples[] | symbol = [];