react tailwind s code example
Example 1: how to properly install tailwind css in react
npx tailwind init tailwind.js --full
Example 2: how to properly install tailwind css in react
const tailwindcss = require('tailwindcss');
module.exports = {
plugins: [
tailwindcss('./tailwind.js'),
require('autoprefixer')
],
};