“Erro: o plug -in postCSS Tailwindcss requer PostCSS 8.” Respostas de código

Sintaxe Erro: Erro: PostCSS Plugin TailwindCSS requer PostCSS 8.

npm uninstall tailwindcss postcss autoprefixer
npm install -D tailwindcss@npm:@tailwindcss/postcss7-compat postcss@^7 autoprefixer@^9
Weary Warbler

Erro: o plug -in postCSS Tailwindcss requer 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"
Lioruby

Respostas semelhantes a “Erro: o plug -in postCSS Tailwindcss requer PostCSS 8.”

Perguntas semelhantes a “Erro: o plug -in postCSS Tailwindcss requer PostCSS 8.”

Procure respostas de código populares por idioma

Procurar outros idiomas de código