MCPcopy
hub / github.com/vuejs/composition-api / getVueConstructor

Function getVueConstructor

src/runtimeContext.ts:50–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48}
49
50export function getVueConstructor(): VueConstructor {
51 if (__DEV__) {
52 assert(
53 vueConstructor,
54 `must call Vue.use(VueCompositionAPI) before using any function.`
55 )
56 }
57
58 return vueConstructor!
59}
60
61// returns registered vue or `vue` dependency
62export function getRegisteredVueOrDefault(): VueConstructor {

Callers 12

customReactiveFunction · 0.90
delFunction · 0.90
setFunction · 0.90
isComponentInstanceFunction · 0.90
getVueInternalClassesFunction · 0.90
getWatcherVMFunction · 0.90
createElementFunction · 0.90
computedFunction · 0.90
constructorMethod · 0.90
createLifeCycleFunction · 0.90
createAppFunction · 0.90
nextTickFunction · 0.90

Calls 1

assertFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…