react frontend

This commit is contained in:
Evan
2026-01-17 01:48:34 +05:00
parent 39b96cadd5
commit 7b66396050
43 changed files with 6708 additions and 35 deletions

View File

@@ -0,0 +1,22 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import tailwindcss from "@tailwindcss/vite";
import path from "path";
// https://vite.dev/config/
export default defineConfig({
plugins: [react(), tailwindcss()],
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
server: {
proxy: {
"/api": {
target: "http://localhost:9755",
changeOrigin: true,
},
},
},
});