resolvePath

external fun resolvePath(to: To, fromPathname: String = definedExternally): Path(source)

Returns a resolved path object relative to the given pathname.

See also

https

://reactrouter.com/v6/utils/resolve-path