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

Function provide

packages/vue-compat/__tests__/global.spec.ts:491–495  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

489 const app1 = createApp({
490 render: () => h('div'),
491 provide() {
492 return {
493 test: 123,
494 }
495 },
496 })
497 app1.config.globalProperties.test = () => {}
498 app1.mount(document.createElement('div'))

Callers 3

setupFunction · 0.90
inject.test-d.tsFile · 0.90
Transition.spec.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected