0

Facing following issue with Next JS 13.4 version:

It looks like you're trying to use tailwindcss directly as a PostCSS plugin. The PostCSS plugin has moved to a separate package, so to continue using Tailwind CSS with PostCSS you'll need to install @tailwindcss/postcss and update your PostCSS configuration.

1

1 Answer 1

0

I have fixed by updating postcss.config.js file

if still not work then delete node_modules and run npm i

module.exports = {
  plugins: {
    "@tailwindcss/postcss": {}, // Use the dedicated PostCSS plugin
    autoprefixer: {},
  },
};
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.