From: Jerald Vinfrank <46400789+JeraldVin@users.noreply.github.com> Date: Tue, 16 Aug 2022 18:13:16 +0000 (+0530) Subject: docs: added 'export' keyword for useCounterStore (#1555) X-Git-Tag: @pinia/nuxt@0.4.1~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16b2c97ca368f41e5e8149bdf187bd957b5f678d;p=thirdparty%2Fvuejs%2Fpinia.git docs: added 'export' keyword for useCounterStore (#1555) --- diff --git a/packages/docs/core-concepts/getters.md b/packages/docs/core-concepts/getters.md index 3c479950..6077f0f0 100644 --- a/packages/docs/core-concepts/getters.md +++ b/packages/docs/core-concepts/getters.md @@ -179,7 +179,7 @@ For the following examples, you can assume the following store was created: import { defineStore } from 'pinia' -const useCounterStore = defineStore('counter', { +export const useCounterStore = defineStore('counter', { state: () => ({ count: 0, }),