add interface
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user