第七節:Spring boot使用Thymeleaf視圖引擎

一:配置application.ymlhtml 配置thymeleaf的引擎信息 有關thymeleaf中的默認配置能夠去下面查看:org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties這個類的屬性 二:添加Maven依賴java thymeleaf依賴,version跟隨Spring boot版本 但幾回都沒有正確
相關文章
相關標籤/搜索