Setup example module with JS bundle configured

This commit is contained in:
Paul-Henri Froidmont 2025-08-21 18:19:08 +02:00
parent 486e89c1f1
commit aae3db841b
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
7 changed files with 39 additions and 7 deletions

View file

@ -5,7 +5,8 @@ object RootLayout:
htmlRootTag(
lang := "en",
headTag(
metaTag(charset := "utf-8")
metaTag(charset := "utf-8"),
scriptTag(defer := true, typ := "text/javascript", src := "/static/app.js")
),
bodyTag(
content