Skip to main content

daisyui-install

Installation notes for daisyUI 5

来源信息

仓库
carverauto/serviceradar
最近来源活动
2026年6月14日 23:59
检测到的 SKILL.md 语言
英语
星标
921
分支
2

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
daisyui-install
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"; ```
在 GitHub 查看