From f554769f768f14e8dc7733bb9dd342ede216f9cc Mon Sep 17 00:00:00 2001 From: Jonas Hecht Date: Mon, 11 Sep 2017 16:38:53 +0200 Subject: [PATCH] Backend pom customizations documented --- README.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/README.md b/README.md index 034f40cf..815f0fe8 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,44 @@ spring-boot-vuejs Go to https://start.spring.io/ and initialize an Spring Boot app with `Web` and `Actuator`. Place the zipĀ“s contents in the backend folder. +Customize pom to copy content from Frontend for serving it later with the embedded Tomcat: + +``` + + + + org.springframework.boot + spring-boot-maven-plugin + + + maven-resources-plugin + + + copy Vue.js frontend content + generate-resources + + copy-resources + + + src/main/resources/public + true + + + ${project.parent.basedir}/frontend/target/dist + + static/ + index.html + + + + + + + + + +``` + ## Frontend