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

Function setup

packages/server-renderer/__tests__/render.spec.ts:116–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

114 await render(
115 createApp({
116 setup() {
117 const msg = ref('hello')
118 return () => h('div', msg.value)
119 },
120 }),
121 ),
122 ).toBe(`<div>hello</div>`)

Callers

nothing calls this directly

Calls 3

hFunction · 0.85
onErrorCapturedFunction · 0.85
refFunction · 0.50

Tested by

no test coverage detected