Why waste time setting up your new project again and again. Just clone this repo, install the depencies and you're good to go.
git clone https://github.com/Amit-kharod/viteReact-typescript-tailwind-boilerplate.git
cd viteReact-typescript-tailwind-boilerplate
npm install
npm run dev