Răsfoiți Sursa

Doc EN `getters.md` : Add new line for consistency (#791)

* Add new line for consistency into getters.md

Signed-off-by: Bruno Lesieur <bruno.lesieur@gmail.com>

* Add tick for consistency accross all Vue docs.

Signed-off-by: Bruno Lesieur <bruno.lesieur@gmail.com>
Bruno Lesieur 8 ani în urmă
părinte
comite
752dbc6e75
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      docs/en/getters.md

+ 2 - 1
docs/en/getters.md

@@ -62,6 +62,7 @@ computed: {
 ```
 ```
 
 
 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:
 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:
+
 ```js
 ```js
 getters: {
 getters: {
   // ...
   // ...
@@ -100,7 +101,7 @@ If you want to map a getter to a different name, use an object:
 
 
 ``` js
 ``` js
 ...mapGetters({
 ...mapGetters({
-  // map this.doneCount to store.getters.doneTodosCount
+  // map `this.doneCount` to `store.getters.doneTodosCount`
   doneCount: 'doneTodosCount'
   doneCount: 'doneTodosCount'
 })
 })
 ```
 ```