Skip to content

Commit 752dbc6

Browse files
MachinisteWebktsn
authored andcommitted
Doc EN getters.md : Add new line for consistency (#791)
* Add new line for consistency into getters.md Signed-off-by: Bruno Lesieur <[email protected]> * Add tick for consistency accross all Vue docs. Signed-off-by: Bruno Lesieur <[email protected]>
1 parent acfe620 commit 752dbc6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/en/getters.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ computed: {
6262
```
6363

6464
You can also pass arguments to getters by returning a function. This is particularly useful when you want to query an array in the store:
65+
6566
```js
6667
getters: {
6768
// ...
@@ -100,7 +101,7 @@ If you want to map a getter to a different name, use an object:
100101

101102
``` js
102103
...mapGetters({
103-
// map this.doneCount to store.getters.doneTodosCount
104+
// map `this.doneCount` to `store.getters.doneTodosCount`
104105
doneCount: 'doneTodosCount'
105106
})
106107
```

0 commit comments

Comments
 (0)