spring.resources.static-locations not working with devtools
I have a project with the following structure (just like spring.io): ├── frontend │ ├── dist │ | ├── app.js │ | ├── vendor.js │ | ├── style.css │ | ├── index.html │ ├── node_modules │ ├── src │ ├── package.json │ ├── pom.xml ├── site │ ├── src │ ├── pom.xml frontend is a NodeJS project and site is a Spring Boot project. All files inside frontend/dist (including html) are autogenerated by webpack. In order to access them from Spring Boot app I've configured development profile. application.yml spring: profiles: development resources: static-locations: - file:../frontend/dist/ All works just fin
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.