Global named route object

Hey, is there a way to get the name of routes in a similar fashion like Redwood https://redwoodjs.com/docs/router#link-and-named-route-functions

import { routes } from '@redwoodjs/router'

routes.login() // -> '/login'


I know the
to
property exists for earch route like

const loginRoute = new Route({path: '/login'})

loginRoute.to


But I need something global that gives me the string of all available routes
About the built-in router for Redwood apps
Was this page helpful?