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
  16abdeb5_17d6_b741_ca16_dfc41a7d0df5["getComponentName()"]
  a6875054_df8a_0ce4_8a16_374ce422dc53["create-component.ts"]
  16abdeb5_17d6_b741_ca16_dfc41a7d0df5 -->|defined in| a6875054_df8a_0ce4_8a16_374ce422dc53
  d9f21a25_b5cd_1bf6_b4c8_d37fee1ff3b2["_getComponentName()"]
  d9f21a25_b5cd_1bf6_b4c8_d37fee1ff3b2 -->|calls| 16abdeb5_17d6_b741_ca16_dfc41a7d0df5
  ce425d9f_05ad_8df9_9c70_37c35a2bdb0e["initExtend()"]
  ce425d9f_05ad_8df9_9c70_37c35a2bdb0e -->|calls| 16abdeb5_17d6_b741_ca16_dfc41a7d0df5
  7f3d1638_c54f_1ec3_6cde_bbd758e2eae6["formatComponentName()"]
  7f3d1638_c54f_1ec3_6cde_bbd758e2eae6 -->|calls| 16abdeb5_17d6_b741_ca16_dfc41a7d0df5
  cd4ab087_1a92_967b_8b0c_652f9562b5f0["createComponent()"]
  cd4ab087_1a92_967b_8b0c_652f9562b5f0 -->|calls| 16abdeb5_17d6_b741_ca16_dfc41a7d0df5
  style 16abdeb5_17d6_b741_ca16_dfc41a7d0df5 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, defined in src/core/vdom/create-component.ts.
Where is getComponentName() defined?
getComponentName() is defined in src/core/vdom/create-component.ts at line 31.
What calls getComponentName()?
getComponentName() is called by 4 function(s): _getComponentName, createComponent, formatComponentName, initExtend.

Analyze Your Own Codebase

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

Try Supermodel Free