只要需要thymeleaf,只需要导入对应的依赖就可以。 然后把html文件放入templates文件夹下面,然后根据视图解析器就能达到对应的html文件了
感觉这个没什么用,前后端分离的项目,不用这个模板。