vuejs / language-tools

⚡ High-performance Vue language tooling based-on Volar.js
https://marketplace.visualstudio.com/items?itemName=Vue.volar
MIT License
5.87k stars 400 forks source link

Vuetify components that are added via .use are not loaded #4658

Closed gleb-bread closed 3 months ago

gleb-bread commented 3 months ago

Vue - Official extension or vue-tsc version

2.0.28

VSCode version

1.91.1

Vue version

3.2.13

TypeScript version

4.5.5

System Info

No response

Steps to reproduce

  1. Create object Vuetify and export. It is possible without aliases, default, theme fields photo_2024-08-07_09-53-59
  2. Add an object using the API.use in the vue app image

What is expected?

Loading all fields, slots and props for a component image

What is actually happening?

In component not found components from vuetify. image

Link to minimal reproduction

No response

Any additional comments?

No response

gleb-bread commented 3 months ago

I use vue-cli 5.0.0 as an app build

so1ve commented 3 months ago

We cannot analyze such code since they are executed at runtime. You should import vuetify's d.ts file.

KermanX commented 3 months ago

Can you reproduce this in Vuetify's starter project (created via npm create vuetify@latest)?

douglasg14b commented 2 months ago

Is there actual specific guidance here?

It's easier to rollback this plugin version on updates than it is to be regularly trying to discover how to fix a new issue, like this one...