Skip to content

Quafadas/ShoelaceSansBundler

Repository files navigation

One file static site with laminar and shoelace. No bundler.

Dependancies

Quickstart

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

Development locally

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.

Goals

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.