Skip to content

Commit 3eee0b9

Browse files
committed
Add missing VueGWT.init(); calls to introduction documentation
1 parent 22456e8 commit 3eee0b9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs-source/book/introduction/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ To do this we simply call the Vue.attach() static method and pass the selector o
9797
```java
9898
public class RootGwtApp implements EntryPoint {
9999
public void onModuleLoad() {
100+
VueGWT.init();
100101
SimpleLinkComponent simpleLinkComponent = Vue.attach("#simpleLinkComponentContainer", SimpleLinkComponent.class);
101102
}
102103
}
@@ -505,6 +506,7 @@ You won't need to pass the class of your `VueComponent` to the `components` attr
505506
```java
506507
public class RootGwtApp implements EntryPoint {
507508
public void onModuleLoad() {
509+
VueGWT.init();
508510
// Register TodoComponent globally
509511
Vue.component("todo", TodoComponent.class);
510512
}

0 commit comments

Comments
 (0)