Scala.js project structure
Scala.js comes with an sbt plugin that facilitates compiling, running and testing with Scala.js. For a quick start, have a look at our basic tutorial.
Load the sbt plugin (
Enable the plugin on the sbt project (
If you are using a
Build.scala definition, import the following:
Next we’ll look into the building process in more detail.