Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vuejs/core
/ mountComp
Function
mountComp
packages/runtime-core/__tests__/componentSlots.spec.ts:332–338 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
330
}
331
332
const
mountComp = () => {
333
createApp({
334
setup() {
335
return
() => h(Comp, () =>
'msg'
)
336
},
337
}).mount(nodeOps.createElement(
'div'
))
338
}
339
340
const
App = {
341
setup() {
Callers
1
setup
Function · 0.85
Calls
2
mount
Method · 0.80
createElement
Method · 0.80
Tested by
no test coverage detected