Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (13 sloc) 340 Bytes
package hello.world
import scala.scalajs.js
import scala.scalajs.LinkingInfo
import scala.scalajs.js.annotation.{JSExportTopLevel, JSImport}
import slinky.native.AppRegistry
import slinky.hot
object Main {
if (LinkingInfo.developmentMode) {
hot.initialize()
}
@JSExportTopLevel("app")
val app = App.componentConstructor
}
You can’t perform that action at this time.