An SBT plugin to compile Mithril templates via MSX.
This plugin is heavily based on sbt-dustjs-linkedin created by jmparsons
Add the sbt plugin to your project/plugins.sbt
file:
addSbtPlugin("com.roperzh.sbt" % "sbt-msx" % "0.0.1")
Place your template .msx files anywhere inside of the app/assets/
it will be available in the corresponding directory. If placed into app/assets/templates/
the output would be target/web/public/main/templates/
.
Pull in the generated javascript template file:
<script src="@routes.Assets.at("templates/example.js")"></script>
- Write tests
0.0.1 - August 30, 2015
- Inital release