npx create-vite-express
yarn add -D tailwindcss postcss autoprefixer
npx tailwindcss init -p
Notice it's src/client and not src like in the docs
"baseUrl": ".",
"paths": {
"@/*": ["./src/client/*"]
}
Notice it's src/client and not src like in the docs
resolve: {
alias: {
"@": path.resolve(__dirname, "./src/client"),
},
},
npx shadcn@latest init
npx shadcn@latest add button