SpringBoot2.x系列教程(三十二)Thymeleaf資源導入及公共佈局

本篇文章來你們學習一下在Thymeleaf下如何引入靜態資源及通用代碼塊。css 引入靜態資源 Thymeleaf中引入靜態資源比較簡單,與前面講到的@{…}語法一致。html <!DOCTYPE html> <html lang="en" xmlns:th="http://www.thymeleaf.org"> <head> <meta charset="UTF-8"/> <ti
相關文章
相關標籤/搜索