MCPcopy
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

setupFunction · 0.85

Calls 2

mountMethod · 0.80
createElementMethod · 0.80

Tested by

no test coverage detected