Ver código fonte

docs: link to vue docs watch for options (#1402)

hannes 6 anos atrás
pai
commit
bd23b9ad37
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      docs/api/README.md

+ 1 - 1
docs/api/README.md

@@ -169,7 +169,7 @@ const store = new Vuex.Store({ ...options })
 
 -  `watch(fn: Function, callback: Function, options?: Object): Function`
 
-  Reactively watch `fn`'s return value, and call the callback when the value changes. `fn` receives the store's state as the first argument, and getters as the second argument. Accepts an optional options object that takes the same options as Vue's `vm.$watch` method.
+  Reactively watch `fn`'s return value, and call the callback when the value changes. `fn` receives the store's state as the first argument, and getters as the second argument. Accepts an optional options object that takes the same options as [Vue's `vm.$watch` method](https://vuejs.org/v2/api/#watch).
 
   To stop watching, call the returned unwatch function.