文章目录
【笔记于学习尚硅谷课程所作】
1、引入thymeleaf
1、导入thymeleaf
<!-- 页面类似热加载的工具 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
</dependency>
<!--引入thymeleaf-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
2、禁用缓存
thymeleaf:
cache: false