mirror of
https://github.com/devkitshq/notifkit.git
synced 2026-10-19 18:24:52 +02:00
- 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
23 lines
443 B
TypeScript
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,
|
|
},
|
|
});
|