Skip to content

How do I upgrade from Tailwind CSS v^1.5 to v^1.8.10? #2541

Answered by simonswiss
emicheldev asked this question in Help
Discussion options

You must be logged in to vote

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 🎉

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by simonswiss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants