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

Function setup

packages/runtime-core/__tests__/apiInject.spec.ts:20–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18 it('string keys', () => {
19 const Provider = {
20 setup() {
21 provide('foo', 1)
22 return () => h(Middle)
23 },
24 }
25
26 const Middle = {

Callers

nothing calls this directly

Calls 5

hFunction · 0.85
injectFunction · 0.85
readonlyFunction · 0.85
hasInjectionContextFunction · 0.85
provideFunction · 0.70

Tested by

no test coverage detected