Skip to content

jmnarloch/generator-scalajs-angular

Repository files navigation

Generator Scala.js Angular Build Status npm version Dependency Status devDependency Status

Yeoman Scala.js Angular generator

This generator is based on the fabulous Scala.js Angular example: https://github.com/greencatsoft/scalajs-angular-todomvc

Getting Started

Make sure that you have sbt installed, if not simply fallow the instructions for your operating system.

Install the Yeoman generator.

npm install -g generator-scalajs-angular

Run the generator to setup your project:

yo scalajs-angular

This will scaffold the project structure and run sbt compile.

Note: First run might take some time due to dependencies download.

Directory structure

.
├── build.sbt
├── project
│   ├── Build.scala
│   ├── build.properties
│   ├── plugins.sbt
├── scalajs
│   ├── src
└── scalajvm
    ├── app
    ├── conf
    ├── public

Scalajvm contains the Play backend. Scalajs the Scala.js Angular application.

Running

When the generator has finished it work execute:

sbt run

Navigate to http://localhost:9000 in your browser.

You should see similar page:

TodoMVC Example

License

Apache 2.0

About

Yeoman Scala.js Angular + Play backend project generator

Resources

License

Stars

Watchers

Forks

Packages

No packages published