Skip to content

Sparrow-Labs/play-coffee-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Play Coffee React sbt plugin

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.

Usage

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:

Local

  1. Fork or clone it to your local filesystem.
  2. 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")
  1. 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.

Via github

  1. 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")
  1. In Your play project directory issue:
$ sbt reload

License

About

CoffeeScript React.js compiler plugin for scala Play

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published