SpringBoot解决thymeleaf引入公共部分问题

引入头部文件

将公共文件都存在/templates/common目录下

1.创建header.html

 2.引入

原文地址:https://www.cnblogs.com/du001011/p/14651310.html