mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-17 13:34:42 -04:00
Update Tailwind CSS npm package version to 4.0
This commit is contained in:
parent
2ca9da4af8
commit
78bcf358ea
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user