I just realized that tailwindcss-cli
is working with 3rd party plugins also in the latest version. That would mean that the best way to integrate daisyui
into phoenix application is:
- create a new phoenix application.
- Use phoenixframework/tailwind: An installer for tailwind (github.com) to integrate tailwindcss into the project
cd assets
yarn add daisyui
- In your
tailwind.config.js
file add the lineplugins: [require("daisyui")],
That is it. There is no 6th step.