One file static site with laminar and shoelace. No bundler.
- https://github.com/casey/just
- playwright for testing
- scala-cli
just
If you don't have / want just, then you can still easily read the justfile and puzzle it out :-).
just setupIde
just buildJs
just serve
just installPlaywrightBundle
just test
Bonus points
just recordATest
just buildJsW
Will continually rebuild the javascript. I then had success with the live server extension in vscode.
Point that extensions at out/index.html
, and you have live reload.
Demonstrate that it is possible to simplify parts of the scala js toolchain. In the first instance targting facade construction and testing.
Scala-cli only. No vite, no sbt.
In browser tests driven purely by the JVM API of playwright, mean the facade is really tested in the browser.