I am following the official Tailwind CSS
installation for reactjs
tutorial step-by-step but tailwindcss
is not being added on my reactjs
project.
This is the link to the tutorial I am following,
I think the only part where I might have a mistake is the tailwind.config.js
file and here it is.
module.exports = {
content: [
"./src/**/*.{js,jsx,ts,tsx}"
],
theme: {
extend: {},
},
plugins: [],
}
index.css
@tailwind base;
@tailwind components;
@tailwind utilities;
postcss.config.js
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}