PurpleKingdomGames / tyrian

Elm-inspired Scala UI library.
https://tyrian.indigoengine.io/
MIT License
346 stars 26 forks source link

Turn examples into live demos #244

Open Iltotore opened 8 months ago

Iltotore commented 8 months ago

It is often annoying and sometimes painful to have to pull and compile the examples from the repository instead of being able to test them directly on a website. I think it would help Tyrian to be easier to get started with. Laminar already has such demo.

Since Tyrian is already a SJS library, it is pretty straightforward to automatically build and host demos. Here is an example of a Tyrian app hosted on Github Pages (workflow file). Beware: the app is very ugly because I suck at CSS.