tailwindlabs / tailwindcss-typography

Beautiful typographic defaults for HTML you don't control.
https://tailwindcss-typography.vercel.app/
MIT License
4.61k stars 269 forks source link

Plugin doesn't seem compatible with TW 2 compatibility mode #93

Closed robdekort closed 3 years ago

robdekort commented 3 years ago

I'm using Laravel Mix and couldn't get it to play nice with PostCSS so I tried to install TW2 via compatibility mode. It seems the typography plugin is not compatible with this mode. But I hope what I'm saying makes sense because this is all a little above my pay grade.

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: autoprefixer@9.8.6
npm ERR! node_modules/autoprefixer
npm ERR!   autoprefixer@"^9.8.6" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer autoprefixer@"^10.0.2" from tailwindcss@2.0.1
npm ERR! node_modules/tailwindcss
npm ERR!   tailwindcss@"^2.0.1-compat" from the root project
robdekort commented 3 years ago

Fixed by: https://twitter.com/adamwathan/status/1329476404728254464?s=20