10000 Replace "ready" for "mounted" hook in README (#24) · meteor-vue/vue-meteor-tracker@72d8f38 · GitHub
[go: up one dir, main page]

Skip to content

Commit 72d8f38

Browse files
voluntadpearAkryum
authored andcommitted
Replace "ready" for "mounted" hook in README (#24)
Since `ready` is deprecated in Vue v2 and replaced with `mounted` it would be nice and less confusing to have updated here
1 parent cb87986 commit 72d8f38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ You can also use the `$subscribe(name, ...params)` method in you component code:
6565

6666

6767
```javascript
68-
ready () {
68+
mounted () {
6969
// Subscribes to the 'threads' publication with two parameters
7070
this.$subscribe('thread', 'new', 10);
7171
}

0 commit comments

Comments
 (0)
0