feat: migrate from Element Plus to Ant Design Vue and update Vite configuration for better dependency management

- Updated Vite configuration to manually chunk Ant Design Vue for improved dependency management.
- Added a comprehensive migration testing checklist for transitioning from Element Plus 2.13.0 to Ant Design Vue 4.x, covering various components and functionalities.
This commit is contained in:
2026-01-03 01:38:38 +08:00
parent 42a1046750
commit 827c9198ae
57 changed files with 5517 additions and 2982 deletions
+4 -4
View File
@@ -29,11 +29,11 @@ export default defineConfig({
rollupOptions: {
output: {
manualChunks(id) {
// Let Vite handle chunking automatically to avoid circular dependencies
// Element Plus will be bundled with its dependencies in the correct order
// Manual chunking for better dependency management
if (id.includes('node_modules')) {
if (id.includes('element-plus')) {
return 'element-plus'
// Ant Design Vue
if (id.includes('ant-design-vue')) {
return 'ant-design-vue'
}
// Group all other vendor code together
return 'vendor'