如圖所示,有太多的js需要導(dǎo)入了, 所以我想搞個(gè)通用的。比如在jsp中:可以定義一個(gè)<script xxxx</script><script xxxx</script><script xxxx</script><script xxxx</script>
<script xxxx</script><script xxxx</script><link xxxx css樣式/><link xxxx css樣式/><link xxxx css樣式/>全是這種的一個(gè) jsp,然后在index.jsp中 include 即可。那么,這種情況在thymeleaf中該如何處理呢?
thymeleaf 中導(dǎo)入html
胡子哥哥
2018-09-03 13:18:44