Preparing search index...
The search index is not available
React Router API Reference
React Router API Reference
@react-router/dev
routes
route
Function route
route
(
path
,
file
,
children
?
)
:
RouteConfigEntry
Helper function for creating a route config entry, for use within
routes.ts
.
Parameters
path
:
undefined
|
null
|
string
file
:
string
Optional
children
:
RouteConfigEntry
[]
Returns
RouteConfigEntry
route
(
path
,
file
,
options
,
children
?
)
:
RouteConfigEntry
Parameters
path
:
undefined
|
null
|
string
file
:
string
options
:
CreateRouteOptions
Optional
children
:
RouteConfigEntry
[]
Returns
RouteConfigEntry
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
React Router API Reference
Loading...
Helper function for creating a route config entry, for use within
routes.ts
.