View Source PhxFontawesome.Free (phx_fontawesome v1.2.1)
You can use this module to check if a specific font is available. Maybe you want to alias the font set to just Fontawesome.
defmodule MyFontawesome do
defmacro __using__(_) do
quote do
alias PhxFontawesome.Free, as: Fontawesome
end
end
end
And in your Phoenix components:
defmodule MyComponent do
use MyFontawesome
...
end