完整的教务系统前端项目 - 包含所有修复和9月份数据

This commit is contained in:
KQL
2025-09-03 13:26:13 +08:00
commit 87b06d3176
270 changed files with 116169 additions and 0 deletions

20
vite.config.docker.js Normal file
View File

@@ -0,0 +1,20 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
base: '/',
server: {
host: '0.0.0.0',
port: 5173,
watch: {
usePolling: true,
},
proxy: {
'/api': {
target: 'http://backend:3000',
changeOrigin: true,
}
}
}
})