You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 10, 2021. It is now read-only.
i'm using it in a LiveView-Context in my project, but you have to go with a controller to inject the necessary data
to the live-view-session, a bit hacky, but it works:
def mount(_params, session, socket) do
...
{:ok, assign( socket, :thesis_conn, session["for_thesis"] )}
end
in the .leex template:
<div phx-update="ignore">
<%= Thesis.View.thesis_editor(@thesis_conn) %>
</div>
<%= Thesis.View.content(@thesis_conn, "home-title", :text) do %>
My Text
<% end %>
Wondering if there are any plans to support using Thesis in LiveViews and LiveComponents?
Thanks :)
The text was updated successfully, but these errors were encountered: