How do I upgrade from Tailwind CSS v^1.5 to v^1.8.10? #2541
-
Hi 👋, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey! 👋 Short answerYou can just run More detailsUpgrading from v1.5 to v1.8 should be straightforward since there are no major breaking changes between these releases. Two little deprecations to consider, if you were using them: the deprecated gap utilities in v1.7 and the deprecated conservative purge layer in v1.8. Outside of that, it's mostly additions to the framework, so you'll have more utilities and functionality out of Tailwind, without losing anything you were using up to now. By the way, v1.9 was just released, so you might want to upgrade straight to that 🎉 Hope it helps! 👍 |
Beta Was this translation helpful? Give feedback.
Hey! 👋
Short answer
You can just run
npm install tailwindcss@latest
to use the latest version of Tailwind CSS. There are no breaking changes since version 1.0 👍More details
Upgrading from v1.5 to v1.8 should be straightforward since there are no major breaking changes between these releases.
Two little deprecations to consider, if you were using them: the deprecated gap utilities in v1.7 and the deprecated conservative purge layer in v1.8.
Outside of that, it's mostly additions to the framework, so you'll have more utilities and functionality out of Tailwind, without losing anything you were using up to now.
By the way, v1.9 was just released, so you might want to upgrade straight to that 🎉