优化 Vite 配置,移除不再使用的代理规则,更新多个组件以增强远程组件加载逻辑,添加错误处理和加载状态显示,提升用户体验。

This commit is contained in:
jxxghp
2025-05-06 21:34:49 +08:00
parent 05cc160311
commit 703204c69a
7 changed files with 214 additions and 447 deletions
-6
View File
@@ -199,12 +199,6 @@ export default defineConfig({
secure: false,
cookieDomainRewrite: 'localhost',
},
'/plugin_static': {
target: 'http://localhost:3001',
changeOrigin: true,
secure: false,
rewrite: path => path.replace(/^\/plugin_static/, '/api/v1/plugin/file'),
},
},
},
css: {