SpringBoot 开发使用thymeleaf模板开发html页面

最近写一些小功能时,想写些页面验证一下效果,后台用的是SpringBoot,当时想用jsp写页面来着,但是springboot不推荐使用jsp,因为jsp在springboot中有诸多限制。 springboot中推荐使用thymeleaf模板,使用html作为页面展示,所以这篇博客记录一下如何初步使用thymeleaf开发html。 1、在pom.xml文件中添加thymeleaf依赖 <dep
相关文章
相关标签/搜索