play-coffee-react is an sbt plugin, which utilizes cjsx to compile JSX assets, written in CoffeeScript, under the Play framework. You need the cjsx compiler to be installed on Your system.
Currently the plugin is under development and not published. There are two possible ways, if You want to participate in the development or use it:
- Fork or clone it to your local filesystem.
- Add the following to Your plugins.sbt:
lazy val root = project.in( file(".") ).dependsOn(assemblyPlugin)
lazy val assemblyPlugin = uri("file:////path/to/play-coffee-react")
- In Your play project directory issue:
$ sbt reload
Note that every time You make a change to the plugin, You have to repeat step 3.
- Add the following to Your plugins.sbt:
lazy val root = project.in( file(".") ).dependsOn(assemblyPlugin)
lazy val assemblyPlugin = uri("https://github.com/Sparrow-Labs/play-coffee-react.git")
- In Your play project directory issue:
$ sbt reload