implementation "org.graceframework.views:grace-views-mustache:8.0.0-M2"
7 Mustache
Version: 8.0.0-M2
7 Mustache
7.1 Introduction
Grace Views Mustache includes spring-boot-starter-mustache which uses the Mustache template engine.
Mustache Templates are written in Mustache template language, end with the file extension .mustache and reside in the app/views directory.
7.2 Installation
Add the grace-views-mustache dependency to your build.gradle.
7.3 Configuration
Mustache template configuration can be altered with app/conf/application.yml.
For example:
grails:
views:
mustache:
enabled: true
spring:
mustache:
...
There are a number of spring.mustache properties that can be set if you want to customize the Mustache template engine.
See the Mustache Templating Properties section of the Spring Boot Appendix.