一、修改thymeleaf属性配置 spring.thymeleaf.prefix=classpath:/templates/ 二、添加依赖(LEGACYHTML5需要搭配一个额外的库NekoHTML才可用) <dependency> |
thymeleaf 模板使用 之 解决因HTML标签未闭合引起的错误
阅读 44
2022-01-28
一、修改thymeleaf属性配置 spring.thymeleaf.prefix=classpath:/templates/ 二、添加依赖(LEGACYHTML5需要搭配一个额外的库NekoHTML才可用) <dependency> |
相关推荐
精彩评论(0)