baseline: 批次A-D 成果 + membership 半成品(测试红)

This commit is contained in:
agent
2026-09-11 23:11:35 +08:00
commit b3f3095d53
311 changed files with 40540 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
// 开发模式通过代理访问内网后端;生产模式同源部署在 Django 下
export default defineConfig({
plugins: [vue()],
// 同源托管在 Django /static/ 下(whitenoise),根路径 index.html 由 Django 返回
base: '/static/',
server: {
port: 5173,
proxy: {
'/api': {
target: 'http://192.168.5.7:18050',
changeOrigin: true,
},
},
},
build: {
outDir: 'dist',
chunkSizeWarningLimit: 1500,
},
})