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

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

Analyze Your Own Codebase

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

Try Supermodel Free