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

Function setup

packages/runtime-core/__tests__/apiCreateApp.spec.ts:28–30  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

26 },
27 },
28 setup(props) {
29 return () => props.count
30 },
31 })
32
33 const root1 = nodeOps.createElement('div')

Callers

nothing calls this directly

Calls 14

hFunction · 0.85
injectFunction · 0.85
resolveComponentFunction · 0.85
resolveDirectiveFunction · 0.85
withDirectivesFunction · 0.85
getCurrentInstanceFunction · 0.85
provideMethod · 0.80
runWithContextMethod · 0.80
mountMethod · 0.80
createElementMethod · 0.80
provideFunction · 0.70
refFunction · 0.70

Tested by

no test coverage detected