初始化

This commit is contained in:
SunYF
2026-08-28 14:07:22 +08:00
parent a185247ab1
commit b34325a16f
971 changed files with 291 additions and 220360 deletions
@@ -1,20 +0,0 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
// 构建产物直接写入 Go 网关的嵌入静态目录(go:embed all:web/static
export default defineConfig({
plugins: [vue()],
build: {
outDir: '../web/static',
emptyOutDir: true
},
server: {
port: 5173,
proxy: {
'/api': {
target: 'http://localhost:8891',
changeOrigin: true
}
}
}
})