-
I am trying to use the Tailwind 4 CLI on a very simple project with two sub-dirs with each having one HTML file. I want those two HTML files (independent of each other) to use a shared CSS build from tailwind. But it looks like @tailwindcss/cli does not allow multiple input files to generate one combined output file from them, e.g.
Globbing does also not work. I guess this is not possible without some extra build/bundler tool, correct? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The input argument should be your input CSS file, not the templates/webpages. Tailwind should automatically pick up those two HTML files when scanning for source files. |
Beta Was this translation helpful? Give feedback.
The input argument should be your input CSS file, not the templates/webpages. Tailwind should automatically pick up those two HTML files when scanning for source files.