Fix JS build and move example to its own module

This commit is contained in:
Paul-Henri Froidmont 2025-08-21 14:10:47 +02:00
parent 73510857a6
commit 486e89c1f1
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
5 changed files with 64 additions and 63 deletions

View file

@ -1,15 +0,0 @@
package scalive
import scalive.HtmlElement
object RootLayout:
def apply(content: HtmlElement): HtmlElement =
htmlRootTag(
lang := "en",
headTag(
metaTag(charset := "utf-8")
),
bodyTag(
content
)
)