I coded up this landing page to practice using React with TailwindCSS and to mock up a landing page for a client.
npm create-react-app project_name
cd my-project
I recommend simply copy pasting the installation instructions from https://tailwindcss.com/docs/guides/create-react-app
npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p
You will need to configure some files, just follow the instructions in the TailwindCSS documentation.
- React & JSX
- React Icons
- TailwindCSS
- Git & Github
- Use State
I built this fairly quickly (over a few hours). I wanted to get more hands-on experience with TailwindCSS, and see how it compares to using Bootstrap 5. I will say, I am enjoying TailwindCSS more than Bootstrap 5, as it feels more customizable.