FatahChan
FatahChan5d ago

installing daisy ui with tailwind throws an error

reproduction 1. deno run -A -r https://fresh.deno.dev 2. make sure to choose tailwind 3. deno add npm:daisyui 4. add daisyui to tailwind config 5. deno task start 6. open the webpage
// tailwind.config.ts
import { type Config } from "tailwindcss/Config";
import daisyui from "daisyui";
export default {
content: [
"routes/**/*.{ts,tsx}",
"components/**/*.{ts,tsx}",
"islands/**/*.{ts,tsx}",
],
Plugins: [daisyui],
} satisfies Config;
// tailwind.config.ts
import { type Config } from "tailwindcss/Config";
import daisyui from "daisyui";
export default {
content: [
"routes/**/*.{ts,tsx}",
"components/**/*.{ts,tsx}",
"islands/**/*.{ts,tsx}",
],
Plugins: [daisyui],
} satisfies Config;
Error
No description
3 Replies
marvinh.
marvinh.5d ago
Do you have a border-border class somewhere in your files?
FatahChan
FatahChan5d ago
yeah, found deleting seems to work hmm, but daisy ui componet doesn't work I will try a fresh repo
FatahChan
FatahChan5d ago
works now but I am getting a type error?
No description