mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 23:38:53 +00:00
Update Tailwind CSS installation instructions
This commit is contained in:
@@ -31,11 +31,10 @@ To use this function you must install the Tailwind CSS CLI v4.0 or later. You ma
|
||||
[Tailwind CSS documentation]: https://tailwindcss.com/docs/installation
|
||||
|
||||
{{% note %}}
|
||||
Use npm to install the CLI prior to the v4.0 release of Tailwind CSS.
|
||||
Prior to the release of Tailwind CSS v4.0 you must install [v4.0.0-alpha.26](https://github.com/tailwindlabs/tailwindcss/releases/tag/v4.0.0-alpha.26) or later.
|
||||
|
||||
`npm install --save-dev tailwindcss@next @tailwindcss/cli@next`
|
||||
|
||||
**Note:** The TailwindCSS v4 alpha 25 is broken and should not be used, see https://github.com/tailwindlabs/tailwindcss/issues/14521. This will be fixed in the next alpha release.
|
||||
{{% /note %}}
|
||||
|
||||
## Options
|
||||
|
||||
Reference in New Issue
Block a user