-
Hi, I think vue-demi isn't working right. I'm building an app extension for Quasar, where vue-apollo is a dependency of the extension and it seems vue-apollo thinks it's working with Vue2. I'm getting these warnings.
And when the app runs, I get this error.
and it comes down to this line: import Vue from 'vue'
import VueCompositionAPI from '@vue/composition-api'
if (Vue && !Vue['__composition_api_installed__'])
Vue.use(VueCompositionAPI)
var isVue2 = true
var isVue3 = false
var version = Vue.version But, I'm definitely using Vue3 (assuming the code above is pointing at a Vue2 implementation). Anyone have a clue how to fix this? Scott |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Ok. I was using TypeScript. Went to a non-typescript project and at least the app compiles now. I guess this is TypeScript incompatibility? Scott |
Beta Was this translation helpful? Give feedback.
-
I'm past this now. Just not using TypeScript..... Scott |
Beta Was this translation helpful? Give feedback.
I'm past this now. Just not using TypeScript.....
Scott