给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

版权所有:伸手党盘
文章标题:给idea添加thymleaf模板
文章链接:https://ssdpan.cn/?post=123
本站文章来源于网络搜集和原创,仅供学习使用,未经授权请勿用于任何商业用途,如有侵权及时联系删除

推荐阅读:


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