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

Function setup

packages/vue/__tests__/e2e/TransitionGroup.spec.ts:730–735  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

728 components: {
729 Child: {
730 setup() {
731 return () =>
732 show.value
733 ? h('div', { class: 'test' }, 'child')
734 : createCommentVNode('v-if', true)
735 },
736 },
737 },
738 setup: () => {

Callers

nothing calls this directly

Calls 2

hFunction · 0.85
createCommentVNodeFunction · 0.85

Tested by

no test coverage detected