我的建议是穿上它
src/main/resources/static/。
有关更多信息,请参阅https://spring.io/blog/2013/12/19/serving-static-web-content-with-
spring-boot。
我在相同的代码库中有一个spring boot和angular 2项目,用于实验。请以这个为例。
https://github.com/reflexdemon/shop

我的建议是穿上它
src/main/resources/static/。
有关更多信息,请参阅https://spring.io/blog/2013/12/19/serving-static-web-content-with-
spring-boot。
我在相同的代码库中有一个spring boot和angular 2项目,用于实验。请以这个为例。
https://github.com/reflexdemon/shop