feat: complete TanStack dashboard acceptance

This commit is contained in:
2026-09-19 12:09:01 +08:00
parent 45a29ea89d
commit 8d35318c7e
103 changed files with 6061 additions and 1065 deletions
+14
View File
@@ -0,0 +1,14 @@
import path from 'node:path'
import { Generator } from '@tanstack/router-generator'
import { getConfig } from '@tanstack/router-plugin'
const root = process.cwd()
const config = getConfig({
target: 'react',
routesDirectory: path.resolve(root, 'src/routes'),
generatedRouteTree: path.resolve(root, 'src/routeTree.gen.ts'),
routeTreeFileHeader: [],
routeTreeFileFooter: [],
}, root)
await new Generator({ config, root }).run()