DioxusLabs/manganis

Support for the Tailwind v4

RustGrow opened this issue · 0 comments

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