aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/packages/docs/app/routes.ts
diff options
context:
space:
mode:
authorNtskwK <natsukawa247@outlook.com>2026-01-21 11:03:03 +0800
committerBegonia, HE <163421589+BegoniaHe@users.noreply.github.com>2026-01-29 02:55:10 +0100
commit4c92bc58fe6a217de029e52634c91160ed69fca3 (patch)
treec3aeb29591e5e2b952e506b802eb231237af88c5 /packages/docs/app/routes.ts
parent0dc78f169678ddd0cbbdbd8d30e9bd7166ba4d87 (diff)
downloadDropOut-4c92bc58fe6a217de029e52634c91160ed69fca3.tar.gz
DropOut-4c92bc58fe6a217de029e52634c91160ed69fca3.zip
feat(docs): add React Router docs with Fumadocs
Diffstat (limited to 'packages/docs/app/routes.ts')
-rw-r--r--packages/docs/app/routes.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/docs/app/routes.ts b/packages/docs/app/routes.ts
new file mode 100644
index 0000000..60dd630
--- /dev/null
+++ b/packages/docs/app/routes.ts
@@ -0,0 +1,7 @@
+import { index, route, type RouteConfig } from '@react-router/dev/routes';
+
+export default [
+ index('routes/home.tsx'),
+ route('docs/*', 'docs/page.tsx'),
+ route('api/search', 'docs/search.ts'),
+] satisfies RouteConfig;