hi i’m working on my portfolio which is built upon next.js, the problem is tailwind codes work on local space but when it comes to netlify they don’t , here is the link to my project : https://celadon-douhua-b653f7.netlify.app/
>> postcss.config.mjs
/** @type {import('postcss-load-config').Config} */
const config = {
plugins: [
'tailwindcss',
'autoprefixer',
],
};
export default config;
>> tailwind.config.js
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic":
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
},
},
},
plugins: [
function ({ addVariant }) {
addVariant('child', '& > *'); // Targets direct children
addVariant('child-hover', '& > *:hover'); // Targets direct children on hover
},
],
};