Build lightweight AI agent admin

This commit is contained in:
Codex
2026-06-08 18:14:59 +08:00
commit e164840f43
2530 changed files with 435693 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
import { defineConfig } from '@vben/vite-config';
import ElementPlus from 'unplugin-element-plus/vite';
import { createLogger } from 'vite';
const viteLogger = createLogger();
export default defineConfig(async () => {
return {
application: {},
vite: {
customLogger: viteLogger,
plugins: [
ElementPlus({
format: 'esm',
}),
],
server: {
proxy: {
'/basic-api': {
changeOrigin: true,
rewrite: (path) => path.replace(/^\/basic-api/, ''),
target: 'http://localhost:8000',
ws: true,
},
'/ws': {
changeOrigin: true,
target: 'ws://localhost:8000',
ws: true,
},
},
},
},
};
});