unplugin-vue-components
unplugin-vue-components copied to clipboard
Automatically importing ElmentPlus page switching causes reloading
Describe the bug
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
- [X] Follow our Code of Conduct
- [X] Read the Contributing Guide.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- [X] The provided reproduction is a minimal reproducible of the bug.
need a reproduction
异步加载的路由,切换路由是也会重新加载页面
+1
me too