给idea添加thymleaf模板

时间:2022-6-12    作者:老大夫    分类: JAVA


  1. 在idea 中 file 选项卡 setting 中选择 file and code template

thymleaf模板代码

<html lang="ch" xmlns:th="http://www.thymeleaf.org">
<head>
   <meta charset="UTF-8">
   <title th:text="${title}">默认的标题</title>
</head>
</html>

标签: idea thymleaf


扫描二维码,在手机上阅读

推荐阅读: