MCPcopy
hub / github.com/nuxt/nuxt / encodeRoutePath

Function encodeRoutePath

packages/nuxt/src/app/composables/router.ts:360–363  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

358 * @internal
359 */
360export function encodeRoutePath (url: string): string {
361 const parsed = parseURL(url)
362 return encodePath(decodePath(parsed.pathname)) + parsed.search + parsed.hash
363}

Callers 3

setupFunction · 0.90
navigateToFunction · 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…