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

Support Tailwind 4 #116

Open
anotheri opened this issue Jan 15, 2025 · 1 comment
Open

Support Tailwind 4 #116

anotheri opened this issue Jan 15, 2025 · 1 comment

Comments

@anotheri
Copy link

When I run npx @tailwindcss/upgrade@next (to migrate into latest tailwindcss v4.0.0-beta.9 version) i'm getting undfined is not a function error, although if i disable tailwindcss-text-fill plugin everything passes as expected. Please add support for Tailwind 4.

@chertik77
Copy link

chertik77 commented Feb 21, 2025

When I run npx @tailwindcss/upgrade@next (to migrate into latest tailwindcss v4.0.0-beta.9 version) i'm getting undfined is not a function error, although if i disable tailwindcss-text-fill plugin everything passes as expected. Please add support for Tailwind 4.

If i'm not mistaken, you can load this plugin via @plugin directive.

In your index.css, you can add the plugin like this:

@import "tailwindcss";
@plugin "tailwindcss-text-fill";

Link: https://tailwindcss.com/docs/functions-and-directives#plugin-directive

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

2 participants