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

Function resolveDirective

packages/runtime-core/src/helpers/resolveAssets.ts:46–48  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

44 * @private
45 */
46export function resolveDirective(name: string): Directive | undefined {
47 return resolveAsset(DIRECTIVES, name)
48}
49
50/**
51 * v2 compat only

Callers 5

convertLegacyDirectivesFunction · 0.90
ssrRenderFunction · 0.85
setupFunction · 0.85
setupFunction · 0.85

Calls 1

resolveAssetFunction · 0.85

Tested by 3

ssrRenderFunction · 0.68
setupFunction · 0.68
setupFunction · 0.68