Spring Boot的静态资源导入

1、 在Spring Boot,我们可以使用以下方式处理静态资源
(1) webjars localhost:8080/webjars
(2) public,static,/**,resources localhost:8080/
2、优先级:resources>static(默认)>public

猜你喜欢

转载自blog.csdn.net/NewBeeMu/article/details/106348426