Update Tailwind CSS npm package version to 4.0

This commit is contained in:
Joe Mooring 2025-01-23 11:41:53 -08:00 committed by GitHub
parent 2ca9da4af8
commit 78bcf358ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,27 +16,17 @@ toc: true
{{< new-in 0.128.0 >}}
{{% todo %}}remove this admonition when feature is stable.{{% /todo %}}
{{% note %}}
This is an experimental feature pending the release of TailwindCSS v4.0.
The functionality, configuration requirements, and documentation are subject to change at any time and may be not compatible with prior releases.
{{% /note %}}
## Prerequisites
To use this function you must install the Tailwind CSS CLI v4.0 or later. You may install the CLI as an npm package or as a standalone executable. See the [Tailwind CSS documentation] for details.
```text
npm install --save-dev tailwindcss @tailwindcss/cli
```
[Tailwind CSS documentation]: https://tailwindcss.com/docs/installation
{{% note %}}
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 %}}
## Options
minify