From e49b0463a7ccff87657ecdde522bc07276cfcbde Mon Sep 17 00:00:00 2001 From: Rijk van Zanten Date: Thu, 6 Feb 2020 11:38:49 -0500 Subject: [PATCH] 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 --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 } }, }) -- 2.47.3