Elixir Phoenix
Phoenix is a web framework built with Elixir programming language

Install daisyUI for Elixir Phoenix

How to install Tailwind CSS and daisyUI in a Elixir Phoenix project

Elixir Phoenix1.8.0-rc.0and later comes with Tailwind CSS 4 and daisyUI 5 out of the box!

1. Create a new Phoenix project

Install Elixir according to theofficial Elixir documentation

Create a new Phoenix project in the current directory.

Terminal
mix phx.new ./ --no-ecto

Here we are using the--no-ectoflag to skip the database setup, just for demonstration purposes.

2. Run your project

Run your Phoenix project

Terminal
mix phx.server

Now you can use daisyUI class names!

Do you have a question? Ask on GitHub or Discord server
Do you like daisyUI? Post about it!
Support daisyUI's development: Open Collective
daisyUI store

NEXUS
Official daisyUI Dashboard Template

Available on daisyUI store

More details