Using sface layout file as Surface.LayoutView layout


I’m working on Surface implementation on an existing LiveView one.
I’m wondering if it’s possible/acceptable to use rename live.html.leex into live.ghtml.sfacein order ton include some Surface component in it (beside @inner_content)

I tried but none worked and I would like to find something else than having a component that is repeated in each live view page to construct the component skeleton of these pages.


1 Like