SpringBoot thymeleaf——修改后如何实时生效

开发期间模板引擎页面修改以后,要实时生效
1.禁用模板引擎的缓存
#禁用缓存
spring.thymeleaf.cache=false 
2.页面修改完成以后ctrl+f9:重新编译;
原文地址:https://www.cnblogs.com/khtt/p/15396764.html