Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shadaj/hello-collidium
https://github.com/shadaj/hello-collidium
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/shadaj/hello-collidium
- Owner: shadaj
- Created: 2015-06-27T19:25:29.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-10T18:16:07.000Z (over 9 years ago)
- Last Synced: 2024-05-01T20:01:32.222Z (8 months ago)
- Language: Scala
- Homepage: https://www.youtube.com/playlist?list=PLo_ebKiwsNTpNezm0cY1cRhGkUKrnnTq9
- Size: 215 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hello-collidium
A repository containing branches that represent starting points for each of the videos in the "Hello Collidium!" YouTube series (https://www.youtube.com/playlist?list=PLo_ebKiwsNTpNezm0cY1cRhGkUKrnnTq9).
This repository is based on https://github.com/sjrd/scala-js-example-app
## Get started
To get started, open `sbt` in this example project, and execute the task
`fastOptJS`. This creates the file `target/scala-2.11/hello-collidium-fastopt.js`.
You can now open `index-fastopt.html` in your favorite Web browser!During development, it is useful to use `~fastOptJS` in sbt, so that each
time you save a source file, a compilation of the project is triggered.
Hence only a refresh of your Web page is needed to see the effects of your
changes.## The fully optimized version
For ultimate code size reduction, use `fullOptJS`. This will take several
seconds to execute, so typically you only use this for the final, production
version of your application. While `index-fastopt.html` refers to the
JavaScript emitted by `fastOptJS`, `index-fullopt.html` refers to the optimized
JavaScript emitted by `fullOptJS`.