27.2.4 模板引擎
除了REST网络服务,你也可以将Spring WebFlux用 于动态HTML内容。Spring WebFlux支持许多的模板技术,包括Thymeleaf、FreeMarker与Mustache。
Spring Boot支持以下模板引擎的自动配置:
当你用默认配置使用这些模板引 擎时,你的模板会自动从
src/main/resources/templates
获取。最近更新 3yr ago
src/main/resources/templates
获取。