All react demos are now moved to separate repositories by the react library they use. See slinky demos here
It uses d3 to generate a rather fancy spinning globe. Demo is converted from here
sbt> d3/start starts a webpack-dev-server at http://localhost:8001 .
sbt> google-maps/start starts a webpack-dev-server at http://localhost:8002 .
sbt> jquery/start starts a webpack-dev-server at http://localhost:8003 .
Trying to obtain type safety in this mess will probably never be worth it,
but at least now you can try! :)
sbt> vue/start starts a webpack-dev-server at http://localhost:8004 .
Simple charting using canvas elements. Shows off how to work with the DOM as well
as how to use chart.js. Heavily adapted from the retyped demo,
sbt> chart/start starts a webpack-dev-server at http://localhost:8007 .
Let's be nice and say that Angular is a reasonable alternative for creating a frontend app. If you agree, now is your chance to use it with Scala.js.
sbt> onsenui/start starts a webpack-dev-server at http://localhost:8011 .
sbt> phaser/start starts a webpack-dev-server at http://localhost:8012 .
Pixi.js is a library to render blazingly fast 2D animations on Canvas, using WebGL under the hood.
sbt> pixi/start starts a webpack-dev-server at http://localhost:8013 .
You will be presented with a menu that has the same structure as the examples from the Pixi website.
Implements the backend/mainprocess part of an Electron app in Scala.js, though it would be easy to do the frontend as well (in another module).
Start the project like this:
Again adapted from sherpal's work.
This is a very simple app which uses a few functions from lodash.
sbt> lodash/run runs the demo in node.
This demo is a HTTP endpoint written in express, which runs on node. Adapted from this
sbt> node-express/run will start it.
You'll need for instance
curl to test it:
> curl http://localhost:3000/welcome #Hello, World! > curl http://localhost:3000/welcome/foo # Hello, foo!
sbt> typescript/run runs the typescript compiler on two files (one of which is meant to fail).
It accepts parameters to specify other files if you want to play around.
sbt> cypress/run runs a basic test
Pull requests most welcome!