Answers for "tailwind cli postcss plugin tailwindcss requires postcss 8"

5

Syntax Error: Error: PostCSS plugin tailwindcss requires PostCSS 8.

npm uninstall tailwindcss postcss autoprefixer
npm install -D tailwindcss@npm:@tailwindcss/postcss7-compat postcss@^7 autoprefixer@^9
Posted by: Guest on June-11-2021
3

error: postcss plugin tailwindcss requires postcss 8.

yarn remove tailwindcss postcss autoprefixer
yarn add tailwindcss@npm:@tailwindcss/postcss7-compat @tailwindcss/postcss7-compat postcss@^7 autoprefixer@^9

# For zsh:
yarn add "tailwindcss@npm:@tailwindcss/postcss7-compat" "@tailwindcss/postcss7-compat" "postcss@^7 autoprefixer@^9"
Posted by: Guest on December-28-2020

Code answers related to "tailwind cli postcss plugin tailwindcss requires postcss 8"

Browse Popular Code Answers by Language