Files
notifkit/dashboard/vite.config.ts
T
coo1estguy afbbaae72e refactor(dashboard): migrate to vite spa and standard shadcn ui
- migrate dashboard from Next.js to Vite SPA with React Router
- install standard shadcn/ui components using shadcn CLI
- use standard shadcn theme with default CSS variables
- handle optional project scoping in system metrics and health handlers
- update admin-static service to serve Vite dist and proxy dev server
2026-09-15 23:07:59 +05:30

23 lines
443 B
TypeScript

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import tailwindcss from "@tailwindcss/vite";
import path from "node:path";
// https://vite.dev/config/
export default defineConfig({
plugins: [react(), tailwindcss()],
base: "./",
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
build: {
outDir: "dist",
emptyOutDir: true,
},
server: {
port: 5173,
},
});