react structure

This commit is contained in:
bryan
2026-02-22 14:52:15 -08:00
parent 6661934fed
commit 35738c8279
26 changed files with 3352 additions and 4 deletions
+21
View File
@@ -0,0 +1,21 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import tailwindcss from "@tailwindcss/vite";
import path from "path";
export default defineConfig({
plugins: [react(), tailwindcss()],
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
server: {
proxy: {
"/api": {
target: "http://localhost:8787",
changeOrigin: true,
},
},
},
});