Thanks for phoenix_playground, I find it very entertaining & useful at the moment!
This issue is a bit of a brain dump / raw user feedback, so bear with me!
I'm trying it on a MVP, and I need to customise the layout (add some custom CSS via Tailwind & a couple of similar stuff).
I made a couple of attempts.
The relevant code is at the moment there:
I cannot see how to customise it without a fair amount of refactoring, so I looked for another solution.
layout can be set at mount time:
https://hexdocs.pm/phoenix_live_view/live-layouts.html#application-layout
But this is apparently only for layout, so it leaves no room to customise root_layout if I read correctly.
@wojtekmach do want to support customisable layouts ultimately?
Thanks!
Thanks for
phoenix_playground, I find it very entertaining & useful at the moment!This issue is a bit of a brain dump / raw user feedback, so bear with me!
I'm trying it on a MVP, and I need to customise the layout (add some custom CSS via Tailwind & a couple of similar stuff).
I made a couple of attempts.
The relevant code is at the moment there:
I cannot see how to customise it without a fair amount of refactoring, so I looked for another solution.
layoutcan be set at mount time:https://hexdocs.pm/phoenix_live_view/live-layouts.html#application-layout
But this is apparently only for
layout, so it leaves no room to customiseroot_layoutif I read correctly.@wojtekmach do want to support customisable layouts ultimately?
Thanks!