A small example project on how to cross compile Scala.js and Scala JVM
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
js/src/main/scala
jvm/src/main/scala
project
shared/src/main/scala
.gitignore
README.md
build.sbt

README.md

Scala.js cross compile example

This is an example on how to cross compile code to Scala.js and Scala JVM.

To try it out, launch sbt and type:

sbt> fooJS/run
sbt> fooJVM/run

More information can be found in the Scala.js documentation and in the sbt-scalajs plugin documentation, including common pitfalls.