IDEA SpringBoot thymeleaf页面修改 浏览器刷新即可响应变化

步骤一:

# 配置thymeleaf模板引擎的缓存,设置为关闭,默认为true开启
spring.thymeleaf.cache=false

在这里插入图片描述

步骤二:
Edit Configuration -> Run/Debug Configurations 中的On ‘Update’ action
On frame deactiveation 都设为 Update resources
在这里插入图片描述在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/m0_46262108/article/details/121882135