- Tailwind CSS v3 with postcss and autoprefixer - shadcn/ui components.json and cn() utility - Path alias @/ -> ./src/ in vite.config.ts and tsconfig.app.json - CSS custom properties for shadcn theming (light/dark) - tailwindcss-animate and @tailwindcss/typography plugins - App.tsx uses cn() with Tailwind classes to verify integration
21 lines
381 B
TypeScript
21 lines
381 B
TypeScript
import path from "node:path";
|
|
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
resolve: {
|
|
alias: {
|
|
"@": path.resolve(__dirname, "./src"),
|
|
},
|
|
},
|
|
server: {
|
|
proxy: {
|
|
"/trpc": {
|
|
target: "http://127.0.0.1:3847",
|
|
changeOrigin: true,
|
|
},
|
|
},
|
|
},
|
|
});
|