Function remixRoutesOptionAdapter
- remixRoutesOptionAdapter(routes): Promise<RouteConfigEntry[]>
Parameters
- routes: ((defineRoutes: DefineRoutesFunction) => RouteManifest | Promise<RouteManifest>)
- (defineRoutes): RouteManifest | Promise<RouteManifest>
Returns RouteManifest | Promise<RouteManifest>
Returns Promise<RouteConfigEntry[]>
Adapts routes defined using Remix's
routes
config option to React Router's config format, for use withinroutes.ts
.