Posted in Tailwind - own components - yes or no?
Bruno, have you had a chance to look at ViewComponent? https://github.com/github/view_component Might be useful to pair with tailwind classes (and possibly extract @apply utilities) if you don’t want to start using Vue/React/etc.
I think I have this working properly, but I have had a few random errors occasionally. I think what fixed it is setting the domain to the proper value. Otherwise, each subdomain has its own cooke.
Rails.application.config.session_store :cookie_store, key: "app-name_session", domain: “.thedomain.tld", expire_after: 1.week