You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-1
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,28 @@ With Rails 7 you can generate a new application preconfigured with Tailwind by u
9
9
1. Run `./bin/bundle add tailwindcss-rails`
10
10
2. Run `./bin/rails tailwindcss:install`
11
11
12
-
This gem wraps [the standalone executable version](https://tailwindcss.com/blog/standalone-cli) of the Tailwind CSS v3 framework. These executables are platform specific, so there are actually separate underlying gems per platform, but the correct gem will automatically be picked for your platform. Supported platforms are Linux x64, macOS arm64, macOS x64, and Windows x64. (Note that due to this setup, you must install the actual gems – you can't pin your gem to the github repo.)
12
+
This gem wraps [the standalone executable version](https://tailwindcss.com/blog/standalone-cli) of the Tailwind CSS v3 framework. These executables are platform specific, so there are actually separate underlying gems per platform, but the correct gem will automatically be picked for your platform.
13
+
14
+
Supported platforms are:
15
+
16
+
- arm64-darwin (macos-arm64)
17
+
- x64-mingw32 (windows-x64)
18
+
- x64-mingw-ucr (windows-x64)
19
+
- x86_64-darwin (macos-x64)
20
+
- x86_64-linux (linux-x64)
21
+
- aarch64-linux (linux-arm64)
22
+
- arm-linux (linux-armv7)
23
+
24
+
25
+
### Using a local installation of `tailwindcss`
26
+
27
+
If you are not able to use the vendored standalone executables (for example, if you're on an unsupported platform), you can use a local installation of the `tailwindcss` executable by setting an environment variable named `TAILWINDCSS_INSTALL_DIR` to the directory containing the executable.
28
+
29
+
For example, if you've installed `tailwindcss` so that the executable is found at `/path/to/node_modules/bin/tailwindcss`, then you should set your environment variable like so:
0 commit comments