Is it possible to create the ~L sigil’s contents in real-time based on the web site visitor? I’m new to Phoenix and LiveView and have been struggling to figure this out.
I’m looking for web app users to be able to design their own custom themes for their account. Each user will have a different LiveView template for any given page (i.e. everyone’s profile page may have different HTML/CSS even if the variables such as Username, Bio, etc. are the same).
My idea was to convert the template they design to a LiveView template which would be stored in a database and build a LiveView that checks who is logged in and then have the render function display the LiveView template assigned to the user. But I’ve been having trouble creating an ~L sigil from a variable. Maybe there is a better way to approach this?