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