🎉 init: impl dashboard overview

This commit is contained in:
2026-08-23 17:36:27 +08:00
parent ce5c3c5773
commit f090c7481b
19 changed files with 2366 additions and 16 deletions
+9 -2
View File
@@ -1,4 +1,3 @@
import path from "path"
import tailwindcss from "@tailwindcss/vite"
import react from "@vitejs/plugin-react"
import { defineConfig } from "vite"
@@ -8,7 +7,15 @@ export default defineConfig({
plugins: [react(), tailwindcss()],
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
"@": import.meta.dirname ? `${import.meta.dirname}/src` : "./src",
},
},
server: {
proxy: {
"/api": {
target: "http://127.0.0.1:4665",
changeOrigin: true,
},
},
},
})