Explorar o código

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

hannes %!s(int64=6) %!d(string=hai) anos
pai
achega
bd23b9ad37
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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.