vuedx / languagetools

A collection of tools for better IDE experience.

Home Page:https://vuedx.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Global Components Unrecognized (Vue 3 + Typescript)

wffranco opened this issue · comments

I set some global components, import then at different ways (a global file that import all, using require, and directly into main, like you can see in the picture:
image

But no matter how I import it, never find the global components.
image

I suppose that work with vue 2, but not with vue 3.

+1

I believe this is what you're looking for? If you place a file named vueconfig.json in your project root and start editing it, VSCode will know which options to suggest. There is an option called globalComponents but unfortunately, I cannot find not much documentation on this whole file.