This commit is contained in:
2026-08-29 13:32:57 +08:00
commit c56aa6e752
81 changed files with 14319 additions and 0 deletions

21
web-ui/vite.config.ts Normal file
View File

@@ -0,0 +1,21 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
export default defineConfig({
plugins: [vue()],
server: {
port: 5173,
proxy: {
'/api': 'http://127.0.0.1:8080'
}
},
build: {
target: 'es2022',
sourcemap: true,
rollupOptions: {
output: {
manualChunks: { vue: ['vue', 'vue-router'] }
}
}
}
})