> For the complete documentation index, see [llms.txt](https://jack80342.gitbook.io/spring-boot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jack80342.gitbook.io/spring-boot/iv.-spring-boot-features/27.-developing-web-applications/27.2-the-spring-webflux-framework/27.2.4-template-engines.md).

# 27.2.4 模板引擎

除了REST网络服务，你也可以将Spring WebFlux用于动态HTML内容。Spring WebFlux支持许多的模板技术，包括Thymeleaf、FreeMarker与Mustache。

Spring Boot支持以下模板引擎的自动配置：

* [FreeMarker](http://freemarker.org/docs/)
* [Thymeleaf](http://www.thymeleaf.org/)
* [Mustache](https://mustache.github.io/)

当你用默认配置使用这些模板引擎时，你的模板会自动从`src/main/resources/templates`获取。
