添加前端

This commit is contained in:
2026-06-03 18:31:15 +08:00
parent a3ad72c140
commit 9748a1e681
29 changed files with 2506 additions and 20 deletions
+19
View File
@@ -0,0 +1,19 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
// https://vite.dev/config/
export default defineConfig({
plugins: [vue()],
build: {
outDir: "../dist",
assetsDir: "assets",
},
server: {
proxy: {
"/api": {
target: "http://127.0.0.1:8080",
changeOrigin: true,
},
},
},
})