Skip to content

Deno/Fresh/Tailwind integration with DaisyUI #2629

Closed Answered by saadeghi
cknight asked this question in Q&A
Discussion options

You must be logged in to vote

Hey.
I haven't tried Deno, but a tailwind.config.ts on an ESM project can be like this:

import daisyui from 'daisyui';

export default {
  content: ['./src/**/*.{js,ts}'],
  plugins: [daisyui],
};

https://stackblitz.com/edit/daisyui-vite-6udkoc?file=tailwind.config.ts

Let me know if you have a question.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@cknight
Comment options

Answer selected by saadeghi
Comment options

You must be logged in to vote
3 replies
@saadeghi
Comment options

@MrPaolinsky
Comment options

@saadeghi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants