Answers for "Error: PostCSS plugin tailwindcss requires PostCSS 8. react"

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 "Error: PostCSS plugin tailwindcss requires PostCSS 8. react"

Browse Popular Code Answers by Language