Bun: Running a react app with bun and tailwind (using react-app)

I have been looking for a definite solution to run react with bun. Ever since the launch of Bun 1.0, I have been really interested in bun technology and was eager to try it out but unfortunately, the process was not clear and I couldn't find a good guidelines online. Following is the step-by-step process of how I was able to run react, bun, and tailwind in a single project. Hope this article helps you in your journey. Stay tuned and follow me as I will also write a similar article for vite, bun, and tailwind.

(P.S. I am using MacOS Sanoma and I assume you have bun installed.)

Write the following commands in your terminal to create the react app.

cd /path to the folder you want to create your project in
bun create react-app project-name
cd project-name

Write the following commands in your terminal to add tailwind to the app.

Website

Tags: App React