// I am having the same problem using tailwindCss with React currently.
/I have an EJS Project I'm currently working on and I am using tailwindCss and It's working here's what the Tailwindconfig file looks like
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./public/**/*.{js,css}",
"./views/**/*.ejs",
"./node_modules/tw-elements/js/**/*.js",
],
darkMode: "class",
plugins: [require("tw-elements/plugin.cjs")],
};
//your Vscode might give you a suggestion to change to ES lint version , you can choose to ignore it or do it . It should work. Here's my postcss file config
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}