ElixirConf EU 2023, report Phoenix on Rails - a Phoenix course for Rails developers

Use Heroicons the way Phoenix 1.7.2 does

👉 https://youtu.be/YLjFtMxAgIk 👀

Want to get Heroicons @elixirphoenix 1.7.2-style but have an existing app? This is what I do👇

  • Update installer: mix archive.install hex phx_new
  • Create sample app: mix phx.new sample
  • Move vendored assets in assets/vendor/heroicons
  • Replace your tailwind config with sample app’s in assets/tailwind.config.js
  • Copy the icon function component from CoreComponents
  • Celebrate! 🎉