New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ends up to (最终停在了) shims.d.ts #3
Comments
Same problem |
I am also experiencing the same issue, but after enabling the Takeover mode of Volar, clicking on a component in VS Code causes a new tab for "components.d.ts" to open and then correctly display the component. Ideally, I don't want it to open "components.d.ts" but it's not a big deal |
I have followed the instructions and disabled VS Code built-in TypeScript. But I still ends up with "shims.d.ts". |
For me the issue was fixed once I added a |
same here |
Describe the bug
I created a project based on Vitesse Lite, installed this extension and it worked well.
But recently, after I updated Volar (which is 1.0.3) and all NPM packages, this extension on longer works as expected.
Now, if I alt+click a component in a .vue SFC, VS Code opens a tab for "components.d.ts" and immediatly opens another for "shims.d.ts" and ends up there.
I read unplugin/unplugin-vue-components#177
So I checked ".npmrc", "shamefully-hoist=true" remains as it was.
I also added @vue/runtime-core to devDependencies. No luck.
I disabled this extension, or moved "shims.d.ts", either way, clicks ended up to "components.d.ts". So, the two are still necessary.
I don't know what else I could try.
the minimal reproduction
I just use Vitesse Lite template on GitHub to create one repo.
in App.vue. This issue can be reproduced.Then, I updated all NPM packages.
I tried clicking
Reproduction
https://github.com/grandsong/reproduction
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: