WEB

Thymeleaf 二:前后台实战

2019-04-30  本文已影响4人  我问你瓜保熟吗

Maven依赖


        Thymeleaf基础依赖
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-thymeleaf</artifactId>
        </dependency>
        
        layout布局依赖
        <dependency>
            <groupId>nz.net.ultraq.thymeleaf</groupId>
            <artifactId>thymeleaf-layout-dialect</artifactId>
            <version>2.3.0</version>
        </dependency>

Gradle依赖


dependencies {
    implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
    implementation 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:2.2.2'
}
上一篇 下一篇

猜你喜欢

热点阅读