MCPcopy Create free account
hub / github.com/code-forge-io/react-router-devtools / homepageUrl

Function homepageUrl

docs/app/utils/version-resolvers.ts:32–34  ·  view source on GitHub ↗
(base: string, version: string)

Source from the content-addressed store, hash-verified

30}
31
32function homepageUrl(base: string, version: string) {
33 return `${base}/${version}/home`
34}
35
36export function pageUrlWithVersion(base: string, version: string, slug: string) {
37 return slug === "_index" ? homepageUrl(base, version) : `${base}/${version}/${slug}`

Callers 1

pageUrlWithVersionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…