DenoDDeno
Powered by
FatahChanF
Denoβ€’2y agoβ€’
5 replies
FatahChan

installing daisy ui with tailwind throws an error

reproduction
1.
deno run -A -r https://fresh.deno.dev
deno run -A -r https://fresh.deno.dev

2. make sure to choose tailwind
3.
deno add npm:daisyui
deno add npm:daisyui

4. add daisyui to tailwind config
5.
deno task start
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
image.png
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

error on installing
Oscar StarsOOscar Stars / help
3y ago
Error With Deno Command Installing JSR Packages
CharCChar / help
16mo ago