Home / Function/ $mount() — vue Function Reference

$mount() — vue Function Reference

Architecture documentation for the $mount() function in index.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  9d136a0b_67b5_0648_3ce4_ac7c7dd163b3["$mount()"]
  d28b05d8_60c2_84ac_d7a7_a4c982ef8fd1["query()"]
  9d136a0b_67b5_0648_3ce4_ac7c7dd163b3 -->|calls| d28b05d8_60c2_84ac_d7a7_a4c982ef8fd1
  0ab0a954_29ae_5663_de65_22e22ba6d0b0["mountComponent()"]
  9d136a0b_67b5_0648_3ce4_ac7c7dd163b3 -->|calls| 0ab0a954_29ae_5663_de65_22e22ba6d0b0
  style 9d136a0b_67b5_0648_3ce4_ac7c7dd163b3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/platforms/web/runtime/index.ts lines 36–42

Vue.prototype.$mount = function (
  el?: string | Element,
  hydrating?: boolean
): Component {
  el = el && inBrowser ? query(el) : undefined
  return mountComponent(this, el, hydrating)
}

Domain

Subdomains

Frequently Asked Questions

What does $mount() do?
$mount() is a function in the vue codebase.
What does $mount() call?
$mount() calls 2 function(s): mountComponent, query.

Analyze Your Own Codebase

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

Try Supermodel Free