Day98/100PostCSS plugin postcss-flexbugs-fixes requires PostCSS8
文章目录
(一)需求
react的项目,在安装成功后,页面报错。找教程没有找到合适的。
PostCSS plugin postcss-flexbugs-fixes requires PostCSS 8.(二)分析
需要升级PostCSS的版本到8
(三)解决
# 卸载
npm uninstall tailwindcss postcss autoprefixer
# 重新安装
npm install tailwindcss@npm:@tailwindcss/postcss7-compat postcss@^8 autoprefixer@^9运行起来生效了。

评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论