Skip to content

A sample Play Framework app based on sbt-play-gulp plugin

Notifications You must be signed in to change notification settings

mmizutani/play-gulp-react

Repository files navigation

play-gulp-react

A demo application for the SBT Play Gulp plugin. The Gulp frontend project in the ui subdirectory is generated by Yeoman Fountain generators with default configurations (Gulp, React, Babel, Webpack and SCSS). You can also switch the SPA framework from React to Angular and Vue as long as Gulp is selected as the task runner.

To run this sample Play app with sbt-play-gulp plugin, clone this repository, cd into this directory and follow the instruction.

Online Demo

https://play-gulp-react.herokuapp.com

  • The frontend page built with Gulp is served at the root path /.
  • The default Play landing page is available at the path /oldhome.
  • You can see the list of available routes at /routes.

Deploy your own to Heroku

Deploy to Heroku

$ npm install -g yo gulp-cli bower
$ git clone http://www.github.com/mmizutani/play-gulp-react.git
$ cd play-gulp-react
$ heroku create play-gulp-react-youruniquesuffix
$ heroku config:set PLAY_APP_SECRET=...
$ heroku buildpacks:add heroku/jvm
$ sbt ";npm install;stage;deployHeroku"

Routes

Yeoman Fourntain React Template

About

A sample Play Framework app based on sbt-play-gulp plugin

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published