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 for the Tailwind v4 #71

Open
RustGrow opened this issue Sep 29, 2024 · 2 comments
Open

Support for the Tailwind v4 #71

RustGrow opened this issue Sep 29, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@RustGrow
Copy link

Version 4 of tailwind css will replace version 3 sooner or later.

  1. Right now using version 4 completely breaks manganis.
  2. When cargo check finishes the tailwind 4 server terminates.
  3. It is impossible to use Tailwind CDN because it does not exist.

Steps to reproduce the behavior:
Using the CLI

npm install tailwindcss@next @tailwindcss/cli@next
Next, import Tailwind in your input.css file:
@import "tailwindcss";

npx @tailwindcss/cli@next -i ./input.css -o ./assets/tailwind.css --watch

repo

bandicam.2024-09-29.17-00-22-532.mp4

Dioxus version: 0.6.0-alpha.2
Rust version: rustc 1.81.0
OS info: Win11
App platform: web

@ealmloff ealmloff transferred this issue from DioxusLabs/dioxus Sep 30, 2024
@ealmloff ealmloff added the bug Something isn't working label Sep 30, 2024
@mfurseman
Copy link

Now v4 is the default for new installations!

@rrrrigel
Copy link

tailwind v4 seems to be working, but not fully, testing some classes like setting text size and font styles are not working for me, I'm not sure why.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants