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: docs/settings.md
+51-3Lines changed: 51 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,6 @@ python manage.py tailwind init
10
10
```
11
11
Please refer to the [Installation](installation.md) section for more information on the installation process.
12
12
13
-
## `TAILWIND_DEV_MODE` (deprecated)
14
-
Determines whether the `browser-sync` snippet is added to the page via the `{% tailwind_css %}` tag. It is set to `False` by default. If you use a legacy pre-`3.1.0` configuration and rely on `browser-sync`, add `TAILWIND_DEV_MODE=True` to your `settings.py`.
15
-
16
13
## `NPM_BIN_PATH` (npm-based installation only)
17
14
18
15
> **Note:** This setting only applies to npm-based installations. Skip if using the standalone binary mode.
@@ -79,6 +76,54 @@ After changing this setting, run `python manage.py tailwind install` to download
79
76
80
77
Visit the [Tailwind CSS releases page](https://github.com/tailwindlabs/tailwindcss/releases) to see all available versions. Use the tag name (e.g., `v4.1.16`) as the value for this setting.
81
78
79
+
## `TAILWIND_STANDALONE_START_COMMAND_ARGS`
80
+
81
+
> **Note:** This setting only applies when using standalone binary mode.
82
+
83
+
This setting defines the command-line arguments passed to the Tailwind CSS standalone binary when running in watch mode (via `python manage.py tailwind start`).
> **Note:** The output path automatically uses the value from `TAILWIND_CSS_PATH` in the default configuration. If you override this setting, ensure your paths are correct.
102
+
103
+
## `TAILWIND_STANDALONE_BUILD_COMMAND_ARGS`
104
+
105
+
> **Note:** This setting only applies when using standalone binary mode.
106
+
107
+
This setting defines the command-line arguments passed to the Tailwind CSS standalone binary when building for production (via `python manage.py tailwind build`).
> **Note:** The output path automatically uses the value from `TAILWIND_CSS_PATH` in the default configuration. If you override this setting, ensure your paths match your project structure.
126
+
82
127
## `TAILWIND_CSS_PATH`
83
128
This defines the path to the generated *Tailwind CSS* stylesheet. If you created a theme app via the `python manage.py tailwind init` command, you likely don't need to change this value.
84
129
@@ -88,3 +133,6 @@ The default value is:
88
133
```python
89
134
TAILWIND_CSS_PATH="css/dist/styles.css"
90
135
```
136
+
137
+
## `TAILWIND_DEV_MODE` (deprecated)
138
+
Determines whether the `browser-sync` snippet is added to the page via the `{% tailwind_css %}` tag. It is set to `False` by default. If you use a legacy pre-`3.1.0` configuration and rely on `browser-sync`, add `TAILWIND_DEV_MODE=True` to your `settings.py`.
0 commit comments