From: Rijk van Zanten Date: Thu, 6 Feb 2020 16:38:49 +0000 (-0500) Subject: docs: add missing getters example in readme (#70) X-Git-Tag: 0.0.6~89 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e49b0463a7ccff87657ecdde522bc07276cfcbde;p=thirdparty%2Fvuejs%2Fpinia.git docs: add missing getters example in readme (#70) * Add missing example Based on the comment, I believe you intended to have a third example in here. * Update README.md Co-Authored-By: Eduardo San Martin Morote Co-authored-by: Eduardo San Martin Morote --- diff --git a/README.md b/README.md index cd2e3495..238d9f01 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,8 @@ export default defineComponent({ main, // gives access to the state state: main.state, - // gives access to specific getter, + // gives access to specific getter; like `computed` properties, do not include `.value` + doubleCount: main.doubleCount } }, })