MCPcopy
hub / github.com/vuejs/core / resolveComponent

Function resolveComponent

packages/runtime-core/src/helpers/resolveAssets.ts:22–27  ·  view source on GitHub ↗
(
  name: string,
  maybeSelfReference?: boolean,
)

Source from the content-addressed store, hash-verified

20 * @private
21 */
22export function resolveComponent(
23 name: string,
24 maybeSelfReference?: boolean,
25): ConcreteComponent | string {
26 return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name
27}
28
29export const NULL_DYNAMIC_COMPONENT: unique symbol = Symbol.for('v-ndc')
30

Callers 6

renderFunction · 0.85
ssrRenderFunction · 0.85
setupFunction · 0.85
setupFunction · 0.85
h.test-d.tsFile · 0.85

Calls 1

resolveAssetFunction · 0.85

Tested by 4

renderFunction · 0.68
ssrRenderFunction · 0.68
setupFunction · 0.68
setupFunction · 0.68