Jade4J support for NinjaFramework
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
jade4ninja-demo
jade4ninja-module
src/main/resources
.gitignore
CHANGELOG.md
README.md
license.txt
pom.xml

README.md

Jade4Ninja

Jade4Ninja(beta) give support for Jade4J for Java templating

Basic functionalities

How to use

  • Add repository
    <repositories>
      <repository>
        <id>jade4ninja-repo</id>
        <url>https://raw.github.com/mysu/jade4ninja/mvn-repo/</url>
        <snapshots>
          <enabled>true</enabled>
          <updatePolicy>always</updatePolicy>
        </snapshots>
      </repository>
    <repositories>
  • Add dependency in pom.xml
    <dependency>
      <groupId>org.ninjaframework</groupId>
        <artifactId>jade4ninja</artifactId>
        <version>0.3.0</version>
        <exclusions>
          <exclusion>
            <artifactId>commons-logging</artifactId>
            <groupId>commons-logging</groupId>
          </exclusion>
        </exclusions>
    </dependency>
  • Add the Jade files in views path in the same way that .ftl.html files

  • See a full usage example in jade4ninja-demo

Reference