I created a project with vite and vue2 by create-vue, then I use this and unplugin-auto-import tools to import element-ui components.
It's ok in development stage. But some element-ui components are missing or not working when previewing after build.
Describe the bug
I created a project with vite and vue2 by create-vue, then I use this and unplugin-auto-import tools to import element-ui components. It's ok in development stage. But some element-ui components are missing or not working when previewing after build.
this is my vite config:
these are snaped images:
Reproduction
https://github.com/shihongxins/vite-vue2-element-ui
System Info
Used Package Manager
npm
Validations