Skip to content

mareszhar/demo-imifcaiwuvc-mrfi

Repository files navigation

Minimal Reproduction of Issue #477


Issue: Missing intellisense for components auto-imported with unplugin-vue-components.


Details

npm run dev runs without issues. But, if you hover over the auto-imported HelloWorld component in App.vue, you will see that intellisense is missing.

Changing the module name in components.d.ts from '@vue/runtime-core' to 'vue' somehow fixes the issue.

But, the problem is that manually changing the module name in components.d.ts is not sustainable. Whenever the unplugin-vue-components detects a change in the components directory, it automatically updates the definitions file and changes the module name back to '@vue/runtime-core'.

Additional Notes

This project was built with Vite's Vue 3 + Typescript template. All dependencies updated to the latest version at the time of this release.

About

Issue: Missing intellisense for components auto-imported with unplugin-vue-components.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published