windows和mac配制:写法
####静态资源
#mac下面配置
#spring.resources.staticLocations=file:///Users/joun/work/htest/dist/
#windows下配置
spring.resources.static-locations=file:D:/work/cos/vue/htest/dist
本文介绍了如何在Windows和Mac系统中配置Spring项目的静态资源路径,提供了Windows和Mac下的具体配置示例,帮助开发者理解在不同操作系统间的部署策略。
windows和mac配制:写法
####静态资源
#mac下面配置
#spring.resources.staticLocations=file:///Users/joun/work/htest/dist/
#windows下配置
spring.resources.static-locations=file:D:/work/cos/vue/htest/dist
6408

被折叠的 条评论
为什么被折叠?