-
Notifications
You must be signed in to change notification settings - Fork 676
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
Tailwind 4 #2819
Comments
Here. https://github.com/rocklau/fresh-daisyuiv5-demo dev.ts #!/usr/bin/env -S deno run -A --watch=static/,routes/
import dev from "$fresh/dev.ts";
import config from "./fresh.config.ts";
import autoprefixer from "autoprefixer";
import "$std/dotenv/load.ts";
import postcss from "postcss";
import tailwindcss from "@tailwindcss/postcss";
const css = Deno.readTextFileSync("./static/app.css");
const out = await postcss([tailwindcss, autoprefixer]).process(css, {
from: "./static/app.css",
});
Deno.writeTextFileSync("./static/styles.css", out.css);
await dev(import.meta.url, "./main.ts", config);
`` |
I followed the configuration for your git repo and even cloned it yet I always get this error. Any ideas?
|
you need to build first deno task build
deno install --allow-import -e main.ts |
Since tailwind has lightningcss built-in, if you use tailwind, is autoprefixer still needed? |
This is inconvenient, waiting for the official upgrade to V4 |
I made the package for this. Feel free to copy it to your project while you wait for the official implementation |
Any Guidance on updating to / using Tailwind 4 with Fresh?
The text was updated successfully, but these errors were encountered: