Initialize Compose Launcher source and deployment

This commit is contained in:
tongtong committed 2026-11-26 02:34:19 +08:00
commit 12a8c24441
77 files changed
+9594

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
import { defineConfig, loadEnv } from "vite";
import vue from "@vitejs/plugin-vue";
export default defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd(), "");
const proxy = { "/api": { target: env.LAUNCHER_API_TARGET || "http://127.0.0.1:8080" } };
return {
base: "./",
plugins: [vue()],
server: { proxy },
preview: { proxy },
};
});