add interface

This commit is contained in:
2025-08-17 19:24:03 -03:00
parent 21f6eb030f
commit b1cff154d4
11 changed files with 320 additions and 16 deletions

View File

@@ -1,5 +1,11 @@
import { type RouteConfig, index, layout } from '@react-router/dev/routes'
import {
type RouteConfig,
index,
layout,
route
} from '@react-router/dev/routes'
export default [
layout('routes/layout.tsx', [index('routes/home.tsx')])
layout('routes/layout.tsx', [index('routes/index.tsx')]),
route('/authorize', 'routes/authorize.tsx')
] satisfies RouteConfig