How to install Tailwind CSS and daisyUI in a Elixir Phoenix project
Elixir Phoenix
1.8.0-rc.0and later comes with Tailwind CSS 4 and daisyUI 5 out of the box!
Install Elixir according to the official Elixir documentation
Create a new Phoenix project in the current directory.
mix phx.new ./ --no-ectoHere we are using the --no-ecto flag to skip the database setup, just for demonstration purposes.
Run your Phoenix project
mix phx.serverNow you can use daisyUI class names!
