Tailwind Classes are not working in my Next.js application
Unanswered
Rhinelander posted this in #help-forum
RhinelanderOP
I have the following set up in my nextjs project but my classes are not applied
/** @type {import('tailwindcss').Config} */
export default {
plugins: ["@tailwindcss/postcss"],
};
3 Replies
Chum salmon
Versions of your Next.js and Tailwind?
@Chum salmon Versions of your Next.js and Tailwind?
RhinelanderOP
Next 15 and Tailwind V 4.1
@Rhinelander Next 15 and Tailwind V 4.1
Chum salmon
tailwind classes like
Why are you setting up
font-bold
text-lg
and so on are working out of the box when you create a Next.js 15 project (npx create-next-app@...
) and choose to include Tailwind CSS.Why are you setting up
tailwindcss/postcss
?