Use Heroicons the way Phoenix 1.7.2 does
Notes
Want to get Heroicons Phoenix 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 (I missed this step in the video! 🤦)
- Copy the icon function component from CoreComponents
- Profit 🎉