init command not available #15791
-
Hi, I've installed Tailwind v4 following the Tailwind docs and I don't seem to have access to the (env) path/to/my/directory % ./tailwindcss init
≈ tailwindcss v4.0.0
Invalid command: init
Usage:
tailwindcss [options]
Options:
-i, --input ··········· Input file
-o, --output ·········· Output file [default: `-`]
-w, --watch ··········· Watch for changes and rebuild as needed
-m, --minify ·········· Optimize and minify the output
--optimize ········ Optimize the output without minifying
--cwd ············· The current working directory [default: `.`]
-h, --help ············ Display usage information Has this been removed in v4? Do I just manually create a config file in root? I have tried that but the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes.
No, the JS config file is sort of deprecated now. The configuration is done in the CSS. Consider checking the installation documentation that is most relevant to your project. |
Beta Was this translation helpful? Give feedback.
Yes.
No, the JS config file is sort of deprecated now. The configuration is done in the CSS.
Consider checking the installation documentation that is most relevant to your project.