SpringBoot基础实战-第十三篇-web开发-公共页面的抽取-重构

在resources/templates下创建commons文件夹,并创建bar.html,把topbar和sidebar都抽取到该文件 <!DOCTYPE html> <html lang="en" xmlns:th="http://www.thymeleaf.org"> <head> <meta charset="UTF-8"> <title>Title</title> </h
相关文章
相关标签/搜索