Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vuejs/core
/ setup
Function
setup
packages/runtime-core/__tests__/componentProps.spec.ts:73–78 ·
view source on GitHub ↗
(_props, { attrs: _attrs })
Source
from the content-addressed store, hash-verified
71
const
Comp = defineComponent({
72
props: [
'foo'
],
73
setup(_props, { attrs: _attrs }) {
74
return
() => {
75
props = _props
76
attrs = _attrs
77
}
78
},
79
})
80
81
const
root = nodeOps.createElement(
'div'
)
Callers
nothing calls this directly
Calls
7
h
Function · 0.85
getCurrentInstance
Function · 0.85
toRefs
Function · 0.85
inject
Function · 0.85
provide
Function · 0.70
ref
Function · 0.70
watch
Function · 0.50
Tested by
no test coverage detected