目录结构
我尝试在 profile.html 中包含 css
<link th:href="@{css/profile.css}" rel="stylesheet" />
但这行不通
我的应用类
@SpringBootApplication
class Application
fun main(args: Array<String>) {
SpringApplication.run(Application::class.java, *args)
}
附言对不起我的英语
最佳答案
关于css - Spring Boot - 不能包含静态资源,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47239426/