Answers for "Error: PostCSS plugin tailwindcss requires PostCSS 8. Migration guide for end-users:"

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. Migration guide for end-users:"

Browse Popular Code Answers by Language