mix corex.heroicon
(Corex v0.1.0-beta.4)
View Source
Copies the Heroicons Tailwind plugin into your project so the Corex.Heroicon
component works. Creates assets/vendor/heroicons.js (or per-app in umbrella)
and instructs adding @plugin "../vendor/heroicons"; to your main CSS.
Requires the :heroicons dependency in mix.exs, e.g.:
{:heroicons, github: "tailwindlabs/heroicons"}Examples
mix corex.heroicon
mix corex.heroicon --forceOptions
--force- overwrite existing heroicons.js