Skip to content

Commit c09cffa

Browse files
committed
In mix task tailwind.install, add instructions for using custom binary
Currently, these instructions are in the README, but they do not appear on HexDocs. This commit basically just copies the line from the README into the doc page for `mix tailwind.install` so that the information is available in both places.
1 parent 8e1869c commit c09cffa

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lib/mix/tasks/tailwind.install.ex

+9
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ defmodule Mix.Tasks.Tailwind.Install do
1010
1111
config :tailwind, :version, "#{Tailwind.latest_version()}"
1212
13+
To install the Tailwind binary from a custom URL (e.g. if your platform isn't
14+
officially supported by Tailwind), you can supply a third party path to the
15+
binary (beware that we cannot guarantee the compatibility of any third party
16+
executable):
17+
18+
```bash
19+
$ mix tailwind.install https://people.freebsd.org/~dch/pub/tailwind/v3.2.6/tailwindcss-freebsd-x64
20+
```
21+
1322
## Options
1423
1524
* `--runtime-config` - load the runtime configuration

0 commit comments

Comments
 (0)