We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1a3e11 commit 3c2ad93Copy full SHA for 3c2ad93
src/runtimeContext.ts
@@ -43,7 +43,8 @@ export function isPluginInstalled() {
43
}
44
45
export function isVueRegistered(Vue: VueConstructor) {
46
- return hasOwn(Vue, PluginInstalledFlag)
+ // resolve issue: https://github.com/vuejs/composition-api/issues/876#issue-1087619365
47
+ return vueConstructor && hasOwn(Vue, PluginInstalledFlag)
48
49
50
export function getVueConstructor(): VueConstructor {
0 commit comments