Skip to content

Commit 8f736d6

Browse files
committed
[daisyui5] Update README with installation and configuration instructions for daisyUI v5
1 parent 3e4b060 commit 8f736d6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

packages/daisyui5-theme/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,18 @@ npm install @sjsf/form @sjsf/daisyui5-theme
1313

1414
## Usage
1515

16+
1. Install daisyUI v5
17+
18+
[Install daisyUI as a Tailwind plugin](https://daisyui.com/docs/install/)
19+
20+
2. Configuration
21+
22+
Register the theme source path by adding a line like this to the `app.css` file.
23+
24+
`@source "../node_modules/@sjsf/daisyui5-theme/dist";`
25+
26+
3. Apply theme
27+
1628
```svelte
1729
<script lang="ts">
1830
import { createForm } from '@sjsf/form';

0 commit comments

Comments
 (0)