Use tech stack vite_react_shadcn_ts

[skip gpt_engineer]
This commit is contained in:
gpt-engineer-app[bot]
2025-03-08 07:54:13 +00:00
commit 1b620c2148
76 changed files with 12728 additions and 0 deletions

22
vite.config.ts Normal file
View File

@@ -0,0 +1,22 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";
import path from "path";
import { componentTagger } from "lovable-tagger";
// https://vitejs.dev/config/
export default defineConfig(({ mode }) => ({
server: {
host: "::",
port: 8080,
},
plugins: [
react(),
mode === 'development' &&
componentTagger(),
].filter(Boolean),
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
}));