Skip to content

Commit bd23b9a

Browse files
escapedcatktsn
authored andcommitted
docs: link to vue docs watch for options (#1402)
1 parent 7c18187 commit bd23b9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ const store = new Vuex.Store({ ...options })
169169
170170
- `watch(fn: Function, callback: Function, options?: Object): Function`
171171
172-
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.
172+
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).
173173
174174
To stop watching, call the returned unwatch function.
175175

0 commit comments

Comments
 (0)