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
  0409ae0b_e495_6959_8f5e_6f3562f01086["getExampleUrl()"]
  89e1d5c3_816b_464a_8e3e_7496dffe6752["e2eUtils.ts"]
  0409ae0b_e495_6959_8f5e_6f3562f01086 -->|defined in| 89e1d5c3_816b_464a_8e3e_7496dffe6752
  style 0409ae0b_e495_6959_8f5e_6f3562f01086 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