3 Commits

Author SHA1 Message Date
Marvin Zhang
526b2c0579 feat: enhance Vite configuration and update metrics display
- Added support for JSX in Vite configuration by including the vueJsx plugin.
- Simplified the metrics display in CurrentMetrics.vue to show only the percentage of used memory and disk.
- Adjusted CSS in CurrentMetrics.vue to prevent wrapping and added a gap between items for better layout.
- Refactored TableCell.vue to remove unused imports, optimizing the component.
- Updated useNodeList.tsx to replace NodeType with ClNodeType and made minor formatting adjustments for consistency.
2025-04-16 14:57:51 +08:00
Marvin Zhang
13fd2d4c4e feat: add preview script and optimize Vite configuration
- Added a new "preview" script to package.json for easier local previewing of the application.
- Refactored Vite configuration by removing unnecessary library build options and external dependencies, streamlining the build process.
- Updated manual chunking logic to improve module handling and included additional dependencies in optimizeDeps for better performance.
2025-04-16 10:51:37 +08:00
Marvin Zhang
fac1206a65 refactor: migrated crawlab-ui to crawlab/frontend/crawlab-ui 2025-04-16 10:33:07 +08:00