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

Migrate to Tailwind 4 #2483

Open
infomiho opened this issue Feb 3, 2025 · 0 comments
Open

Migrate to Tailwind 4 #2483

infomiho opened this issue Feb 3, 2025 · 0 comments

Comments

@infomiho
Copy link
Contributor

infomiho commented Feb 3, 2025

Tailwind CSS v4.0 is an all-new version of the framework optimized for performance and flexibility, with a reimagined configuration and customization experience, and taking full advantage of the latest advancements the web platform has to offer.

We should follow the upgrade guide and see how we want to deal with Tailwind in the future in Wasp.

Now we are installing a dependency if they have certain config files present. But we require them to have this dependency #2465 anyways (due to problems with how npm resolves peer deps) - so this begs the question, do we provide any value? Should we make Tailwind a userland thing?

In version 4, the setup is quite simple: install a Vite plugin, add it to your Vite config and include import "tailwind"; in a CSS file. Simpler than before.

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

No branches or pull requests

1 participant