framework-web:spring:templates

Ceci est une ancienne révision du document !


Templates

Avec Spring Boot, le développeur a la choix du moteur de template…

Logic-less template !

Ajouter dans application.properties :

# Mustache Template engine
spring.mustache.prefix=classpath:/templates/
spring.mustache.suffix=.html

voir mustache 5 documentation

Variable

{{name}}

  • framework-web/spring/templates.1548124947.txt.gz
  • Dernière modification : il y a 6 ans
  • (modification externe)