美文网首页WEB
Thymeleaf 二:前后台实战

Thymeleaf 二:前后台实战

作者: 我问你瓜保熟吗 | 来源:发表于2019-04-30 15:35 被阅读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'
}

相关文章

网友评论

    本文标题:Thymeleaf 二:前后台实战

    本文链接:https://www.haomeiwen.com/subject/agjvnqtx.html