unplugin / unplugin-vue-components

📲 On-demand components auto importing for Vue
https://www.npmjs.com/package/unplugin-vue-components
MIT License
3.66k stars 341 forks source link

Using auto-imported components and changing content in their slots causes them to re-render,there will be no such problem after manual import #683

Closed warmthsea closed 10 months ago

warmthsea commented 10 months ago

Describe the bug

1c03acfbae7f21d34dbcceefc869b26c

I created a repository, but can't reproduce https://github.com/Fallen-Angels-No3/vitesse-lite-test-auto-import-component/tree/main

I upgraded vue, vite, and unplugin-vue-components to the same version as vitesse-lite, but the problem is still there;

Reproduction

Have other users had similar problems? Is it caused by other plugins? Because I can't provide a minimal reproduction of my problematic project in a short time

System Info

Chrome 116

 "vue": "^3.3.4",
 "unplugin-vue-components": "^0.25.0",
 "vite": "^4.3.9",

Used Package Manager

pnpm

Validations

warmthsea commented 10 months ago

caused by pinia