thymeleaf吧 关注:14贴子:21
  • 0回复贴,共1

求教读取不同网站的静态文件应该怎么写

只看楼主收藏回复

有大佬知道thymeleaf 里面读取不同的css怎么写吗
以前我可以写成
<link href="${domain1}/a.css" />
<link href="${domain2}/b.css" />
这里的domain1 domain2 从后台传过来的
但是用了 thymeleaf 以后,就不知道应该怎么写了
对应的js也是类似


IP属地:北京1楼2019-12-27 15:22回复