20260813222656

This commit is contained in:
oneao committed 2026-08-13 22:26:56 +08:00
1 parent ab30604fe4
commit 68de86aee9
3668 files changed
+3921 -216192

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import tailwindcss from "@tailwindcss/vite";
import { fileURLToPath, URL } from "node:url";
// https://vite.dev/config/
export default defineConfig({
plugins: [vue(), tailwindcss()],
resolve: {
alias: {
"@": fileURLToPath(new URL("./src", import.meta.url)),
},
},
server: {
port: 5081,
host: "0.0.0.0",
proxy: {
"/api": {
target: "http://127.0.0.1:8088",
changeOrigin: true,
},
},
},
});