Spring Boot整合Thymeleaf(更多资料见https://www.thymeleaf.org) 1.创建工程,添加依赖项 2.Thymeleaf的默认配置信息及修改 默认存储位置:classpath:/templates/ 默认后缀:html 修改配置信息: 3.使用Controller返回视图及模型数据 4.使用模型及模板渲染页面 相关文章: