易百教程

14、如何使用Thymeleaf?

要使用 Thymeleaf,我们可以将它添加到 pom.xml 文件中,例如:

<dependency>    
<groupId>org.springframework.boot</groupId>    
<artifactId>spring-boot-starter-thymeleaf</artifactId>    
</dependency>