This repo contains manually written bindings for a couple Shoelace.js web components. To scale this up, I've started working on a generator of Web component bindings for Laminar (and other Scala.js libraries): https://github.com/raquo/laminar-shoelace-components
You might have noticed that sometimes when adding a new page, you get an incremental compilation error like "ThatNewPage does not exist" which does not go away until you sbt clean. This seems to be this bug In Scala 3. I made a small reproduction for it, so hopefully the fix is coming.
As a workaround, after you create a new Page, you need to save the pages.scala file BEFORE you use the page anywhere. Or, you can change JsRouter by removing the export of pages, and using Scala 2 patterns for that.
Thanks for the fantastic repo, this has been a very useful learning tool.
I had it working at first, but at some point the upstream API call at WeatherFetcher.scala line 26 is returning an empty currentConditions element. This would have been more confusing if it happened when I was first trying to get it going. When this problem first started, both Squamish and Netinat were failing. At the current moment, Netinat is working, but Squamish is still out.
I found this comment on a similar issue for a different region here (home-assistant/core#101533 (comment)) so maybe this is something that the code should be able to more gracefully handle. Although I could see if you want to leave it as is to keep the example pure. Maybe even just make a few more stations available, and add a warning that they could be out would help?