Sprint Boot----集成 Thymeleaf 模板引擎

 使用:

创建项目的时候添加依赖,和添加web一样

在pom.yml 添加依赖

<dependency>
    <groupId>net.sourceforge.nekohtml</groupId>
    <artifactId>nekohtml</artifactId>
    <version>1.9.22</version>
</dependency>

  

猜你喜欢

转载自www.cnblogs.com/yanxiaoge/p/10804696.html