I am building my vue app for the first time with TypeScript and I have been stuck on this Property 'xxx' does not exist on type 'typeof issue. I have researched similar problems but none seemed to work. I am on "vue": "^3.0.0-0" and "typescript": "~3.9.3"
I installed vuetify, so in my vuetify.ts I have the first error(Property 'use' does not exist on type 'typeof)
import Vue from 'vue'
import Vuetify from 'vuetify'
Vue.use(Vuetify)
export default new Vuetify({
})
I am passing it in my main.ts
createApp(App)
.use(store)
.use(router)
.use(vuetify)
.mount('#app')
Then on my App.vue where lies the other error (Property 'extend' does not exist on type 'typeof) I have
export default Vue.extend({
name: 'App',
components: {
//
},
data: () => ({
//
})
})
I have also followed the configurations recommended here