From 90e7fcced0479c274cfd9ffd92dc127b8045a06b Mon Sep 17 00:00:00 2001 From: Thatsaphorn Atchariyaphap Date: Fri, 4 Apr 2025 22:05:41 +0200 Subject: [PATCH] Update postcss.config.mjs file Attempt to fix the following error: #5 13.62 Error: 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. --- postcss.config.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/postcss.config.mjs b/postcss.config.mjs index 1a69fd2..862efb2 100644 --- a/postcss.config.mjs +++ b/postcss.config.mjs @@ -1,7 +1,8 @@ /** @type {import('postcss-load-config').Config} */ const config = { plugins: { - tailwindcss: {}, + '@tailwindcss/postcss': {}, + autoprefixer: {} }, };