Skip to content

Upgrade to Tailwind CSS v3 #94

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
hudon opened this issue Dec 10, 2021 · 3 comments
Closed

Upgrade to Tailwind CSS v3 #94

hudon opened this issue Dec 10, 2021 · 3 comments

Comments

@hudon
Copy link

hudon commented Dec 10, 2021

Tailwind CSS v3.0 is out, so this issue can track the work (if any) needed for this gem to upgrade to it.

Their upgrade guide is here.

@dixpac
Copy link
Contributor

dixpac commented Dec 11, 2021

Currently this is not possible.

Tailwind 3 removed classic mode, JIT is the only mode for Tailwind 3.
 This means that if we build tailwind.css with the npx tailwind build > ./app/assets/stylesheets/tailwind.css" we will get almost nothing, 13KB file size that just resets browser default styles.

@dhh
Copy link
Member

dhh commented Dec 14, 2021

Note the incompatibility with 3.0 in the README.

@dhh dhh closed this as completed Dec 14, 2021
@hudon
Copy link
Author

hudon commented Dec 18, 2021

This gem now supports Tailwind 3 in v2 and above thanks to this PR: #96

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants