Grails Plugin for Hsoy Templates
JavaScript Groovy
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
grails-app
web-app/js
.gitignore
HsoyTemplatesGrailsPlugin.groovy
README.markdown
application.properties

README.markdown

Hsoy Templates Plugin for Grails

Hsoy Templates is a client- and server- side templating system for web and Java, see https://github.com/splix/hsoy-templates

This plugin is adding a new Application Resource type for Grails 2.0+ (w/ Resource plugin installed)

Latest versions: 0.3

Install

Add dependency into BuildConfig.groovy:

plugins {
    compile ":hsoy-templates:0.3"
}

Put your .hsoy files into web-app/hsoy/ (like web-app/hsoy/myapp.hsoy) directory, and configure resources as:

templates {
    dependsOn 'soyutils'
    resource url: '/hsoy/myapp.hsoy', attrs:[type:'js']
}

License

Licensed under the Apache License, Version 2.0