Spring Boot之Thymeleaf

Thymeleaf只是个模板引擎,与前端框架相互独立。

使用步骤:
1.引入依赖。

org.thymeleaf
thymeleaf-spring5
3.0.9.RELEASE

2.配置

3.在页面上加入

4.编写页面

原文地址:https://www.cnblogs.com/zd540/p/11281877.html