Skip to content

Tutorial for creating a simple Single Page Application in ScalaJS

License

Notifications You must be signed in to change notification settings

insdami/scalajs-spa-tutorial

 
 

Repository files navigation

Scala.js SPA-tutorial

Gitter

Tutorial for creating a simple (but potentially complex!) Single Page Application with Scala.js and Play.

Purpose

This project demonstrates typical design patterns and practices for developing SPAs with Scala.js with special focus on building a complete application. It started as a way to learn more about Scala.js and related libraries, but then I decided to make it more tutorial-like for the greater good :)

The code covers typical aspects of building a SPA using Scala.js but it doesn't try to be an all-encompassing example for all the things possible with Scala.js. Before going through this tutorial, it would be helpful if you already know the basics of Scala.js and have read through the official Scala.js tutorial and the great e-book Hands-on Scala.js by Li Haoyi (@lihaoyi).

Documentation

Tutorial documentation is now presented as a GitBook.

あなたは日本語を話せますか?Scala.js is Big in Japan, so I'm looking for help to translate the tutorial documentation into Japanese. Contact me on twitter (@ochrons) or via email (otto@chrons.me) if you're interested!

Scala IDE users

If you are using Scala IDE, you need to set additional settings to get your Eclipse project exported from SBT.

set EclipseKeys.skipParents in ThisBuild := false
eclipse

About

Tutorial for creating a simple Single Page Application in ScalaJS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 99.1%
  • Other 0.9%