[frontend] use shadcn

This commit is contained in:
2025-10-12 03:29:23 +02:00
parent 1e812c93a6
commit 01b84042ab
45 changed files with 2525 additions and 2137 deletions
+4 -2
View File
@@ -1,6 +1,7 @@
import path from "path";
import tailwindcss from "@tailwindcss/vite"
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { fileURLToPath, URL } from "node:url";
// https://vite.dev/config/
export default defineConfig({
@@ -10,10 +11,11 @@ export default defineConfig({
plugins: [["babel-plugin-react-compiler"]],
},
}),
tailwindcss()
],
resolve: {
alias: {
"@": fileURLToPath(new URL("./src", import.meta.url)),
"@": path.resolve(__dirname, "./src"),
},
},
});