Replies: 3 comments 3 replies
-
Indeed, an input CSS file is required by the CLI. |
Beta Was this translation helpful? Give feedback.
-
You can still use the config file by adding this (with the correct path to tailwind.config.js) to your css file. @config "../tailwind.config.js"; Not sure if this will solve your particular problem. But, I'm working on a project using |
Beta Was this translation helpful? Give feedback.
-
@theKlisha In case you haven't found a solution yet, here is what I got with help from Gemini. It explained that in v4, the main config file is now
After that, it generated a reasonable |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I'm maintaining golang project and I use tailwind in html templates. With version v3.4.17 I could run
tailwindcss -o $(STYLESHEET_MIN) --minify
in my Makefile, provided I hadtailwind.config.js
file with the following content:But this approach does not seem to work in version 4. I'm forced to provide input file with
-i
flag. I could live with it but only one file at the time can be provided this way, forcing me to use some other CSS preprocessing tool together with tailwind. Is there a way for me to upgrade without complicating build process by including additional tooling/dependencies?Beta Was this translation helpful? Give feedback.
All reactions