// make sure that the tailwind config have the content property module.exports = { content: [ "./src/**/*.{js,jsx,ts,tsx}", ], // ... }