mirror of
https://github.com/phfroidmont/scalive.git
synced 2025-12-25 13:36:59 +01:00
Fix JS build and move example to its own module
This commit is contained in:
parent
73510857a6
commit
486e89c1f1
5 changed files with 64 additions and 63 deletions
|
|
@ -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
|
||||
)
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue