Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
h
Function · 0.85
onErrorCaptured
Function · 0.85
ref
Function · 0.50
Tested by
no test coverage detected