Home / Function/ getComponentName() — vue Function Reference

getComponentName() — vue Function Reference

Architecture documentation for the getComponentName() function in create-component.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  b6fb05fd_b015_6b22_977c_6534594c61d5["getComponentName()"]
  4878963d_c74c_367d_8701_bb4503aa7bc4["_getComponentName()"]
  4878963d_c74c_367d_8701_bb4503aa7bc4 -->|calls| b6fb05fd_b015_6b22_977c_6534594c61d5
  14862e78_4e1b_a138_5d8b_d69973ce321b["initExtend()"]
  14862e78_4e1b_a138_5d8b_d69973ce321b -->|calls| b6fb05fd_b015_6b22_977c_6534594c61d5
  8d5fd9dd_3c22_737f_cb3e_509698d89d76["formatComponentName()"]
  8d5fd9dd_3c22_737f_cb3e_509698d89d76 -->|calls| b6fb05fd_b015_6b22_977c_6534594c61d5
  9f53d048_e9bd_bd7d_3ea7_71affe1529d8["createComponent()"]
  9f53d048_e9bd_bd7d_3ea7_71affe1529d8 -->|calls| b6fb05fd_b015_6b22_977c_6534594c61d5
  94b9bea5_805f_6496_0112_f371ad04f740["default.render()"]
  94b9bea5_805f_6496_0112_f371ad04f740 -->|calls| b6fb05fd_b015_6b22_977c_6534594c61d5
  style b6fb05fd_b015_6b22_977c_6534594c61d5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/core/vdom/create-component.ts lines 31–33

export function getComponentName(options: ComponentOptions) {
  return options.name || options.__name || options._componentTag
}

Domain

Subdomains

Frequently Asked Questions

What does getComponentName() do?
getComponentName() is a function in the vue codebase.
What calls getComponentName()?
getComponentName() is called by 5 function(s): _getComponentName, createComponent, default.render, formatComponentName, initExtend.

Analyze Your Own Codebase

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

Try Supermodel Free