Getting Started template for Scala.js workshop
If you want to play with some code just launch sbt
in main directory.
- In interactive shell type
~fastOptJS
, see the scala.js magic happen. - After a while you should get file
target/scala-2.11/thegame-scala-js-fastopt.js
- Point your browser to http://localhost:12345/target/scala-2.11/classes/index-dev.html
- See fullscreen black background - it means everything worked fine
- Do some changes in the code
- Enjoy auto refresh on every successfull compile