Giter Site home page Giter Site logo

dylan700 / javalin-rendering Goto Github PK

View Code? Open in Web Editor NEW

This project forked from javalin/javalin-rendering

0.0 0.0 1.0 152 KB

https://javalin.io/plugins/rendering

License: Apache License 2.0

Java 3.76% Kotlin 94.97% HTML 0.62% FreeMarker 0.18% Twig 0.20% Mustache 0.10% StringTemplate 0.17%

javalin-rendering's Introduction

Chat at https://discord.gg/sgak4e5NKv CI License Maven

About Javalin

Javalin rendering

The javalin-rendering artifact is an optional module for the Javalin web framework that provides a simple way to render HTML using popular template engines. The javalin-rendering artifact includes default implementations for several template engines, including JTE, Mustache, Velocity, Pebble, Handlebars, and Thymeleaf.

DOCS: https://javalin.io/plugins/rendering

Add dependency

Maven

<dependency>
    <groupId>io.javalin</groupId>
    <artifactId>javalin-rendering</artifactId>
    <version>5.4.2</version>
</dependency>

Gradle

implementation "io.javalin:javalin-rendering:5.4.2"

Usage

Once you have included the javalin-rendering artifact and one of the supported template engine dependencies in your project, Context#render should automatically render your templates. By default, the plugin will look in src/main/resources/templates for template files.

javalin-rendering's People

Contributors

tipsy avatar dylan700 avatar casid avatar raniagus avatar tareqk avatar playacem avatar dzikoysk avatar

Forkers

tipsy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.