diff options
| author | 2026-01-21 11:03:03 +0800 | |
|---|---|---|
| committer | 2026-01-21 11:03:03 +0800 | |
| commit | c792c62c86e4d9f4de8402610bb63000cd79bc3a (patch) | |
| tree | c9efcc2e994d4242cd883317c4f8737d8a821600 /packages/docs/app/routes.ts | |
| parent | c281777d65c4207d2fc3805a52fbc6e1939f4909 (diff) | |
| download | DropOut-c792c62c86e4d9f4de8402610bb63000cd79bc3a.tar.gz DropOut-c792c62c86e4d9f4de8402610bb63000cd79bc3a.zip | |
feat(docs): add React Router docs with Fumadocs
Diffstat (limited to 'packages/docs/app/routes.ts')
| -rw-r--r-- | packages/docs/app/routes.ts | 7 |
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; |