The path to resolve
Options
Optionalrelative?: RelativeRoutingTypeDefaults to "route" so routing is relative to the route tree.
Set to "path" to make relative routing operate against path segments.
The resolved Path object with pathname, search, and hash
Resolves the pathname of the given
tovalue against the current Location. Similar to useHref, but returns a Path instead of a string.