设置你的代码编辑器,以便根据你的提示正确生成 daisyUI 代码。
daisyui.com/llms.txt该文件是 daisyUI 文档的精简文本版本,以帮助 AI 根据你的提示生成准确的 daisyUI 代码。
以下是如何在你的代码编辑器中使用 daisyUI llms.txt
Copilot 可以为你生成 daisyUI 代码。
将 daisyUI 的 llms.txt 文件添加到你的仓库,以便 Copilot 可以默认使用它。
运行此命令以将 llms.txt 文件保存到.vscode/daisyui.md
curl -L https://daisyui.tailwind.org.cn/llms.txt --create-dirs -o .vscode/daisyui.md
在.vscode/settings.json
添加这个
{
"github.copilot.chat.codeGeneration.instructions": [
{
"file": "./.vscode/daisyui.md"
}
]
}
添加新的自定义文档
https://daisyui.tailwind.org.cn/llms.txt
@daisyui
以向 Cursor 提供 daisyUI 文档。/fetch https://daisyui.tailwind.org.cn/llms.txt
@web https://daisyui.tailwind.org.cn/llms.txt