1.## 在SpringBoot中引入Thymeleaf <dependency> <groupId>org.thymeleaf</groupId> <artifactId>thymeleaf-spring5</artifactId> <version>3.0.9.RELEASE</version> </dependency> 2.## thymeleaf的语法和使用 thymeleaf的一些语法: thymeleaf表达式: