第七节:Spring boot使用Thymeleaf视图引擎

一:配置application.ymlhtml 配置thymeleaf的引擎信息 有关thymeleaf中的默认配置能够去下面查看:org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties这个类的属性 二:添加Maven依赖java thymeleaf依赖,version跟随Spring boot版本 但几回都没有正确
相关文章
相关标签/搜索