Great question — answering as the UphillTech team:
For devs that created their project with nextJS. be aware that the content of the tailwind.config.js needs the correct paths to the files. 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: {}, }, plugins: [], } For example, if you create a project with nextjs for example, you have a pages folder, where your index.js file is located. Therefore the code snippet (see below) on https://tailwindcss.com/docs/installation/using-postcss is not perfectly matching. Change it to the above or your own liking. module.exports = { content: ["./src/**/*.{html,js}"], theme: { extend:...
Full answer by Yves Boutellier: https://stackoverflow.stackexchange.com/a/71537329 (CC BY-SA 4.0).
Need it done for your business? UphillTech.