All threads / How to update TailwindsCSS?

Ask A Question

Notifications

You’re not receiving notifications from this thread.

How to update TailwindsCSS?

abebraham asked in CSS
Hi, ladies and gents, 

I want to know what is the recommended method of updating tailwinds CSS? 

Currently running 0.4.1 and want to update to 0.5.1 to be able to use ':active' variant. 

https://github.com/tailwindcss/tailwindcss/releases

Thanks! 
Pretty much you'd just update the version in your package.json and use yarn to install it. You'll want to check with the releases page and see if anything has been deprecated or removed and upgrade your code if so. Other than that, I don't think there's much else you'd have to do.
Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 37,106+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.