📜  postcss 插件 tailwindcss 需要 postcss 8. 最终用户迁移指南 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:04.305000             🧑  作者: Mango

代码示例1
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"