SpringBoot–Thymeleaf常用配置项
##前缀
spring.thymeleaf.prefix=classpath:/templates/suibian/
//后缀
spring.thymeleaf.suffix=.html
#配置视图模板类型,如果视图模板使用的是 html5 需要配置
spring.thymeleaf.mode=HTML
##默认视图编码格式
spring.thymeleaf.encoding=utf-8
#响应类型
spring.thymeleaf.servlet.content-type=text/html
#配置页面缓存
spring.thymeleaf.cache=false