4 ms·
How was working with tailwind in Elixir? My understanding is that Liveview does SSR paired with a very light JS/AJAX framework to keep state on the client, sim
by dgb23 5y ago
How was working with tailwind in Elixir?
My understanding is that Liveview does SSR paired with a very light JS/AJAX framework to keep state on the client, similar to htmx for example.
Tailwind however generates tons of CSS classes that you might or might not use, so it parses your HTML and "purges" unused classes afterwards. It seems that this is far easier if working with a more mainstream framework.
Did you have any problems setting this up?
- Charlieholtz 5y agoThis is pretty much exactly how it works! But I would say I had no problems combining tailwind with liveview. I do wish my HTML was cleaner but from a technical perspective there were no problems.