Setup your code editor to correctly generate daisyUI code based on your prompt.
daisyui.com/llms.txt file is a compact, text version of daisyUI docs to help AI generate accurate daisyUI code based on your prompt.
Here’s how to use daisyUI llms.txt in your code editor:
Copilot can generate daisyUI code for you.
Add daisyUI’s llms.txt file to your repo so that Copilot can use it by default.
Run this command to save the llms.txt file to .vscode/daisyui.md
curl -L https://daisyui.com/llms.txt --create-dirs -o .vscode/daisyui.md
In .vscode/settings.json
Add this:
{
"github.copilot.chat.codeGeneration.instructions": [
{
"file": "./.vscode/daisyui.md"
}
]
}
Add new custom docs
https://daisyui.com/llms.txt
@daisyui
to provide daisyUI docs to Cursor./fetch https://daisyui.com/llms.txt