How to setup Postcss, Tailwind, React, and Webpack from Scratch

ynwd

ynwd

Posted on October 17, 2021

How to setup Postcss, Tailwind, React, and Webpack from Scratch

I want to create a shared react component for a monorepo with tailwindcss. However, while reading the document, it was found that tailwind uses craco. Meanwhile I want to use webpack. And it definitely doesn't suit my needs. So I searched everywhere, to find setting everything up from scratch.

.
├── babel.config.js
├── package.json
├── postcss.config.js
├── src
│   ├── App.js
│   ├── index.css
│   ├── index.html
│   └── index.js
├── tailwind.config.js
└── webpack.config.js
Enter fullscreen mode Exit fullscreen mode

The following are some of my notes. I hope this helps people with similar needs to mine.

💖 💪 🙅 🚩
ynwd
ynwd

Posted on October 17, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related