unplugin / unplugin-vue-components

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

Automatically importing ElmentPlus page switching causes reloading #675

Open 1939823447 opened 1 year ago

1939823447 commented 1 year ago

Describe the bug

image

import Components from 'unplugin-vue-components/vite' import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'

Reproduction

Reproduction

System Info

new dependencies optimized: element-plus/es/components/container/style/css, element-plus/es/components/footer/style/css, element-plus/es/components/pagination/style/css, element-plus/es/components/main/style/css, element-plus/es/components/table/style/css, ...and 5 more
16:50:45 [vite] ✨ optimized dependencies changed. reloading

Used Package Manager

npm

Validations

lishaobos commented 1 year ago

need a reproduction

laixiaoyi commented 1 year ago

异步加载的路由,切换路由是也会重新加载页面

qiaer commented 1 year ago

+1

guipie commented 11 months ago

me too image

litchia commented 2 months ago

这个问题还没解决方案吗?