scalajs-cross-compile-example icon indicating copy to clipboard operation
scalajs-cross-compile-example copied to clipboard

A small example project on how to cross compile Scala.js and Scala JVM

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-crossproject plugin documentation.