Home / Function/ getExampleUrl() — vue Function Reference

getExampleUrl() — vue Function Reference

Architecture documentation for the getExampleUrl() function in e2eUtils.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  86d0ef47_5ef3_4c63_5a71_03f519f9407a["getExampleUrl()"]
  74c9703b_0a18_7462_9820_16ae2926fb68["e2eUtils.ts"]
  86d0ef47_5ef3_4c63_5a71_03f519f9407a -->|defined in| 74c9703b_0a18_7462_9820_16ae2926fb68
  style 86d0ef47_5ef3_4c63_5a71_03f519f9407a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

test/e2e/e2eUtils.ts lines 4–13

export function getExampleUrl(
  name: string,
  apiType: 'classic' | 'composition'
) {
  const file = apiType === 'composition' ? `${name}.html` : `${name}/index.html`
  return `file://${path.resolve(
    __dirname,
    `../../examples/${apiType}/${file}`
  )}`
}

Domain

Subdomains

Frequently Asked Questions

What does getExampleUrl() do?
getExampleUrl() is a function in the vue codebase, defined in test/e2e/e2eUtils.ts.
Where is getExampleUrl() defined?
getExampleUrl() is defined in test/e2e/e2eUtils.ts at line 4.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free