README
This commit is contained in:
5
spring-boot/thymeleaf-vue/README.md
Normal file
5
spring-boot/thymeleaf-vue/README.md
Normal file
@@ -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/)".
|
||||
@@ -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.
|
||||
Reference in New Issue
Block a user