• 准备搜索索引...
  • 搜索索引不可用
React Router API 参考
  • React Router API 参考
  • @react-router/dev
  • routes
  • route

函数 route

  • route(path, file, children?): RouteConfigEntry
  • 用于创建路由配置条目的辅助函数,用于 routes.ts 中。

    参数

    • path: undefined | null | string
    • file: string
    • 可选children: RouteConfigEntry[]

    返回值 RouteConfigEntry

    • 定义于 config/routes.ts:189
  • route(path, file, options, children?): RouteConfigEntry
  • 参数

    • path: undefined | null | string
    • file: string
    • options: CreateRouteOptions
    • 可选children: RouteConfigEntry[]

    返回值 RouteConfigEntry

    • 定义于 config/routes.ts:194

设置

成员可见性
React Router API 参考
  • 加载中...

使用 TypeDoc 生成