Thymeleaf 3.0.9.RELEASE is the current stable version. It requires Java SE 6 or newer.

Thymeleaf 3.0.9.RELEASE is the current stable version. It requires Java SE 6 or newer.

For the old 2.1.x branch, Thymeleaf 2.1.6.RELEASE is the latest version.

Maven/Gradle

The easiest way to include Thymeleaf in your project is to use a build system like Maven or Gradle and make use of the Thymeleaf artifacts living in the Central Repository. All you need to do is add the Thymeleaf dependencies you need to your project:

ModuleGroup IDArtifact ID
Core libraryorg.thymeleafthymeleaf
Spring 3 integrationorg.thymeleafthymeleaf-spring3
Spring 4 integrationorg.thymeleafthymeleaf-spring4
Spring 5 integrationorg.thymeleafthymeleaf-spring5
Testing libraryorg.thymeleafthymeleaf-testing
Spring Security 3 integrationorg.thymeleaf.extrasthymeleaf-extras-springsecurity3
Spring Security 4 integrationorg.thymeleaf.extrasthymeleaf-extras-springsecurity4
Java 8 Time API compatibilityorg.thymeleaf.extrasthymeleaf-extras-java8time
Tiles 2 integrationorg.thymeleaf.extrasthymeleaf-extras-tiles2
IE Conditional Comments supportorg.thymeleaf.extrasthymeleaf-extras-conditionalcomments

An example:

<dependency>
    <groupId>org.thymeleaf</groupId> <artifactId>thymeleaf</artifactId> <version>3.0.9.RELEASE</version> </dependency>

Distribution packages

In case you don't use a build tool such as Maven or Gradle, we also offer a complete distribution package containing binaries, source, javadoc and dependencies in the form of a convenient .zip file, which you can download from our bintray binary repository.

Sources

Thymeleaf's source code is available on GitHub. Here are the main repositories:

Artwork

If you need to use the Thymeleaf logo, you can just copy the one below, or have a look here and find several versions of it along with instructions on how to use it.

The Thymeleaf Artwork by The Thymeleaf Project is licensed under the Creative Commons CC BY-SA 3.0 License. Note that this license only applies to the Thymeleaf artwork, and specifically does not apply to software published by the Thymeleaf project nor to the names, logos or other artwork of companies or projects using Thymeleaf, even if displayed on this website.

转载于:https://www.cnblogs.com/borter/p/9570175.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值