FatahChanF
Denoβ€’15mo agoβ€’
5 replies
FatahChan

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;


Error
image.png
Was this page helpful?