Skip to content

configuring with Tailwind v4 / Alpha #3056

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

You must be logged in to vote

Yes, you can import the css file from node modules from daisyui/dist/full.css

But this css file includes every class name. Even the ones you're not using in your project. So you might want to use an external tool like postcss-purge to remove unused class names and create a smaller CSS file for production.

Let me know if you have any questions.

Replies: 4 comments 6 replies

Comment options

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

Comment options

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

Answer selected by kunanyi
Comment options

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

@kuchta
Comment options

Comment options

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

@robsontenorio
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
4 participants