Skip to content

Commit e87c7ab

Browse files
authored
Update README.md
1 parent 0330110 commit e87c7ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ This technique has the advantage of providing a globale instance of view JS for
5353
public class UiTest {
5454

5555
@AutoWired
56-
private WueJS vue;
56+
private VueJS vue;
5757

5858
@GetMapping("test")
5959
public String index(ModelMap model) {
@@ -73,7 +73,7 @@ springboot.vuejs.el=v-app
7373

7474
#### With @ModelAttribute annotation
7575

76-
It is possible to avoid instantiation, and the passage of the variable to the view :
76+
For a more punctual use, in a single method for example, It is possible to use the **@ModelAttribute** annotation :
7777

7878
```java
7979
@Controller

0 commit comments

Comments
 (0)