How to use it in LiveView
Opened this issue · 1 comments
cvkmohan commented
Firstly, thanks for the useful library.
I am keen to know,
def controller do
quote do
...
use PhoenixMetaTags.TagController # Add this
end
end
where to put these lines in case of a LiveView rendered page?
michelson commented
just assign the meta tags on the live view assigns like:
|> assign(:meta_tags, %{...})}