unplugin / unplugin-vue-components

📲 On-demand components auto importing for Vue

Home Page:https://www.npmjs.com/package/unplugin-vue-components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GlobalComponents lives in "@vue/runtime-core" not "vue"

nurdism opened this issue · comments

I'm trying to get this to work with volar, I have the dts option enabled but the generated types output as

declare module 'vue' {
...
}

According to this pr (look here) the GlobalComponents interface lives in the @vue/runtime-core not the vue package