打包后文件放到 src/main/resources/static 目录
在application.yaml中添加
spring: mvc: static-path-pattern: /** web: resources: static-locations: classpath:/static/
打包后文件放到 src/main/resources/static 目录
在application.yaml中添加
spring: mvc: static-path-pattern: /** web: resources: static-locations: classpath:/static/
没有回复内容