Skip to content

Commit 9296666

Browse files
committed
Added proper documentation how to use daisyUI
1 parent e4d101f commit 9296666

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ if you want to activate browser reload or the `runserver_plus` management comman
7070

7171
- Simplest possible integration.
7272
- Support Tailwind CSS 4.x.
73-
- Proper support for DaisyUI via [tailwindcss-cli-extra](https://github.com/dobicinaitis/tailwind-cli-extra).
73+
- Proper support for DaisyUI via [tailwindcss-cli-extra](https://github.com/dobicinaitis/tailwind-cli-extra). Settings are described in the [usage guide](https://django-tailwind-cli.readthedocs.io/latest/usage/#use-with-daisyui).
7474
- Or bring your own version of Tailwind CSS CLI.
7575
- Management commands:
7676

docs/usage.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,14 @@ tailwind-sidecar:
102102
command: python manage.py tailwind watch
103103
tty: true
104104
```
105+
106+
## Use with daisyUI
107+
108+
If you plan to use the [daisyUI](https://daisyui.com) components in your project, I highly recommend the custom CLI build [tailwind-cli-extra](https://github.com/dobicinaitis/tailwind-cli-extra) by [Andris Dobičinaitis](https://github.com/dobicinaitis).
109+
110+
Just add the following settings to your `settings.py`file.
111+
112+
```python
113+
TAILWIND_CLI_SRC_REPO = "dobicinaitis/tailwind-cli-extra"
114+
TAILWIND_CLI_ASSET_NAME = "tailwindcss-extra"
115+
```

0 commit comments

Comments
 (0)