Skip to content
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

WIP: Update tailwind to version 4.0.0 #103

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

leifmetcalf
Copy link

This patch is to prepare for the upcoming release of version 4 of the tailwindcss library: https://tailwindcss.com/docs/v4-beta#css-configuration-in-depth.

The changes that I think affect the elixir library are

  • There is a new config format, now embedded in app.css rather than a separate javascript file.
  • Source files are now found automatically, although you can still disable this and manually specify sources instead.

@josevalim
Copy link
Member

This looks sweet. Thanks for keeping it up to date @leifmetcalf!

Previously the README recommended running the tailwind executable
from the assets directory in the `mix tailwind` task. Since
tailwind 4.0.0 searches for source files in the directory it is run
from, we instead recommend running the executable from the parent
directory.
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 this pull request may close these issues.

2 participants