blob: 09bd76c1300dd0887bb53ca18fd233b1cec8182d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package reading
import scala.scalajs.js.JSApp
import org.scalajs.dom
import scalacss.Defaults._
import reading.component.style.{Global => GlobalStyle}
object Main extends JSApp {
def main(): Unit = {
val style = dom.document.createElement("style")
style.appendChild(dom.document.createTextNode(GlobalStyle.render))
dom.document.head.appendChild(style)
val _ = dom.document.body.appendChild(component.Index().render)
}
}
|