<html>
<head>
<title>Reading List</title>
<link rel="stylesheet" th:href="@{/style.css}"></link>
</head>
当我正在开发一个 Spring Boot 项目时,根据一些要求,我想通过使用 thymeleaf 添加/加载一些静态资源内容。在加载/引用 css 文件时,我使用的是 thymeleaf 标签。
th:href="@{/style.css}
谁能解释一下为什么我们使用表达式 '@' ?