You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tailwind definitely works with PostCSS 8, it sounds like perhaps you forgot to install postcss when installing postcss-cli. Run npm install postcss and try again.
Going to close as based on the original message it appears to me that the issue is just not adding postcss as a dependency, which is outlined as one of the installation steps for postcss-cli:
Describe the problem:
Tailwind 1.9.6 is not working with postcss-cli version 8, giving error : "Error: true is not a PostCSS plugin"
module.exports = { plugins: [ require("postcss-import"), require("tailwindcss")("tailwind.config.js"), require("autoprefixer") ] }
Link to a minimal reproduction:
Use this versions of postcss-cli, autoprefixer, and postcss-import to reproduce bug
"autoprefixer": "^10.0.1", "postcss-cli": "^8.1.0", "postcss-import": "^13.0.0", "tailwindcss": "^1.9.6",
And run this command, btw, i'm using angular
postcss src/theme/tailwind.css -o src/styles.css
The text was updated successfully, but these errors were encountered: