Tailwind not working in React-App

Kudzai Murimi - Mar 29 '23 - - Dev Community

Many people come across a challenge where tailwind css will not be working in a react-app. I have come up with the solution after having same challenge for so many times, I got a permanent solution.

Just add the following code to your

tailwind.config file

/** @type {import('tailwindcss').Config} */
module.exports = {
  content: ['./src/**/*.{js,jsx,ts,tsx}'],
  theme: {
    extend: {},
  },
  plugins: [],
};
Enter fullscreen mode Exit fullscreen mode

Done.Happy! T

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player