{"repo":"allegro/handlebars-spring-boot-starter","free":true,"listed":false,"github":"https://github.com/allegro/handlebars-spring-boot-starter","clone":"git clone https://github.com/allegro/handlebars-spring-boot-starter.git","description":"Spring Boot auto-configuration for Handlebars","language":"Groovy","stars":115,"topics":["handlers","spring-boot","spring-boot-starter","hacktoberfest"],"license":"Apache-2.0","category":"saas-starters-boilerplates","readme_excerpt":"Spring Boot Starter Handlebars ==== Spring Boot Starter support for Handlebars.java (logic-less templates). Usage Add handlebars-spring-boot-starter as dependency: Requirements Since version 0.5.0 handlebars-spring-boot-starter requires Spring Boot 3, Spring Framework 6 and Java 17. Helpers Spring Boot Starter Handlebars will automatically register handlebars helpers based on project dependencies. Add any handlebars helper to dependencies and you can start using it. NOTE: JacksonHelper will register with name json . Every other helper will register with its default name. More information about available helpers can be found on Handlebars.java. Custom helpers To register a custom helper use @HandlebarsHelper annotation. Example More information about how to create custom helpers can be found on Using a HelperSource Configuration Properties space is: handlebars . All basic properties of AbstractTemplateViewResolverProperties.java are available. Default configuration: NOTE: handlebars-guava-cache is used as template cache implementation. resolver configuration allows on/off available handlebars value resolvers. Here goes default configuration: More information about value resolvers can be found on Using the ValueResolver. Custom cache template Set handlebars template cache by @Bean of type TemplateCache. Custom template loader Set handlebars template loader by @Bean of type TemplateLoader. License handlebars-spring-boot-starter is published under Apache License 2.0.","default_branch":null,"files":null,"tree":[],"storefront":"/r/allegro","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/allegro/handlebars-spring-boot-starter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}