From a36255a67031a2ae2428176c006dd5b13a4b2ac0 Mon Sep 17 00:00:00 2001 From: Tom Hombergs Date: Sun, 26 Jul 2020 21:01:19 +1000 Subject: [PATCH] README --- spring-boot/thymeleaf-vue/README.md | 5 +++++ spring-boot/thymeleaf-vue/client/README.md | 25 +--------------------- 2 files changed, 6 insertions(+), 24 deletions(-) create mode 100644 spring-boot/thymeleaf-vue/README.md diff --git a/spring-boot/thymeleaf-vue/README.md b/spring-boot/thymeleaf-vue/README.md new file mode 100644 index 0000000..dcf5322 --- /dev/null +++ b/spring-boot/thymeleaf-vue/README.md @@ -0,0 +1,5 @@ +# Serve Vue Components from a Thymeleaf Template + +This sample shows how to embed a Vue.js project in Gradle to serve Vue components from a server-side Thymeleaf template. + +Find out more in the article "[Marrying Vue.js and Thymeleaf: Embedding Javascript Components in Server-Side Templates](https://reflectoring.io/reusable-vue-components-in-thymeleaf/)". \ No newline at end of file diff --git a/spring-boot/thymeleaf-vue/client/README.md b/spring-boot/thymeleaf-vue/client/README.md index f827518..07968f2 100644 --- a/spring-boot/thymeleaf-vue/client/README.md +++ b/spring-boot/thymeleaf-vue/client/README.md @@ -1,24 +1 @@ -# client - -## Project setup -``` -npm install -``` - -### Compiles and hot-reloads for development -``` -npm run serve -``` - -### Compiles and minifies for production -``` -npm run build -``` - -### Lints and fixes files -``` -npm run lint -``` - -### Customize configuration -See [Configuration Reference](https://cli.vuejs.org/config/). +This Gradle modules creates a JAR containing all the Vue resources created by the NPM build. \ No newline at end of file