Thymeleaf -自动编译设置

了方便每次修改HTML文件都能实时刷新,做一下更改。 在application.properties文件加入以下命令: #thymeleaf start spring.thymeleaf.mode=HTML5 spring.thymeleaf.encoding=UTF-8 spring.thymeleaf.content-type=text/html #开发时关闭缓存,不然没法看到实时页面 spr
相关文章
相关标签/搜索