Replies: 1 comment 1 reply
-
|
Yes. Then add it to your tailwind.config.js: module.exports = {
//...
plugins: [require("daisyui")],
}And daisyUI classes will be added to Tailwind CSS as a plugin so it works the same way Tailwind works. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. I'm aware that I can use TailwindCSS with Static pages, all I got to do is install Tailwind then
npx tailwindcss build main.css -o output.cssand just use theoutput.cssfile with the static html page.I haven't tried it yet, but I believe since DaisyUI is a plugin to TailwindCSS, after I have DaisyUI installed and then I run the
npx tailwindcss...command, the generatedoutput.cssfile will contain any DaisyUI css I have used, right?Beta Was this translation helpful? Give feedback.
All reactions