初始化2

This commit is contained in:
SunYF
2026-08-28 15:06:01 +08:00
parent b34325a16f
commit a9c3fbeb41
537 changed files with 176215 additions and 17 deletions
@@ -0,0 +1,18 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
// 构建输出到 Go 服务内嵌目录 ../web/staticemptyOutDir 清空旧产物)
export default defineConfig({
plugins: [vue()],
build: {
outDir: '../web/static',
emptyOutDir: true
},
server: {
port: 8893,
proxy: {
'/api': 'http://127.0.0.1:8892',
'/pdfopen': 'http://127.0.0.1:8892'
}
}
})