Add nasctl: Go NAS control plane with React frontend

This commit is contained in:
2026-07-05 17:37:19 -04:00
parent 359fd5a160
commit 4f0754ecc5
56 changed files with 6725 additions and 1 deletions
+16
View File
@@ -0,0 +1,16 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
// Build output goes into internal/web/dist so it is embedded into the Go binary.
export default defineConfig({
plugins: [react()],
build: {
outDir: "../internal/web/dist",
emptyOutDir: true,
},
server: {
proxy: {
"/api": "http://localhost:8080",
},
},
});