Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Upgrade tailwind v2 to v3 TypeError: Cannot read property

I have follow the guide to upgrade on tailwind https://tailwindcss.com/docs/upgrade-guide.

But I know get an error on my ionic angular app

TypeError: Cannot read property '700' of undefined
like image 713
crg Avatar asked Sep 18 '25 13:09

crg


1 Answers

It seems that the version of the tailwind plugins I had was not compatible with Tailwind v3

I had to update theme, tailwind typography and forms in my case.

npm install -D @tailwindcss/typography@latest \
@tailwindcss/forms@latest
like image 115
crg Avatar answered Sep 20 '25 02:09

crg