springboot中的html引入js、css文件

在Spring Boot项目中,默认配置的/**映射到/static,通常src/main/resources/static目录用于存放各种静态资源文件,例如css、js和image等。src/main/resources/templates用于存放页面文件,例如html,jsp等。javascript 目录结构以下: application.yml配置以下:css server: port:
相关文章
相关标签/搜索