set up new workflow and migrate to .forgejo dir (#5)
Some checks failed
Deploy / deploy (push) Failing after 39s
Some checks failed
Deploy / deploy (push) Failing after 39s
Co-authored-by: Benjamin Palko <benjaminpalko@hotmail.com> Reviewed-on: #5
This commit is contained in:
parent
c37955c51b
commit
f526f5c0aa
99 changed files with 1866 additions and 1470 deletions
|
|
@ -4,19 +4,24 @@ description: Installation notes for daisyUI 5
|
|||
---
|
||||
|
||||
## daisyUI 5 install notes
|
||||
|
||||
[install guide](https://daisyui.com/docs/install/)
|
||||
|
||||
1. daisyUI 5 requires Tailwind CSS 4
|
||||
2. `tailwind.config.js` file is deprecated in Tailwind CSS v4. Do not use `tailwind.config.js`. Tailwind CSS v4 only needs `@import "tailwindcss";` in the CSS file if it's a node dependency.
|
||||
3. daisyUI 5 can be installed using `npm i -D daisyui@latest` and then adding `@plugin "daisyui";` to the CSS file
|
||||
4. daisyUI is suggested to be installed as a dependency but if you really want to use it from CDN, you can use Tailwind CSS and daisyUI CDN files:
|
||||
|
||||
```html
|
||||
<link href="https://cdn.jsdelivr.net/npm/daisyui@5" rel="stylesheet" type="text/css" />
|
||||
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
|
||||
```
|
||||
|
||||
5. A CSS file with Tailwind CSS and daisyUI looks like this (if it's a node dependency)
|
||||
|
||||
```css
|
||||
@import "tailwindcss";
|
||||
@plugin "daisyui";
|
||||
@import 'tailwindcss';
|
||||
@plugin 'daisyui';
|
||||
```
|
||||
|
||||
### CDN
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue