From: codersjj <44868357+codersjj@users.noreply.github.com> Date: Sun, 24 Jul 2022 15:53:31 +0000 (+0800) Subject: docs: fix typo (#1474) X-Git-Tag: @pinia/nuxt@0.3.1~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef2c3f777a1541905f90d46012e62564fab9d79f;p=thirdparty%2Fvuejs%2Fpinia.git docs: fix typo (#1474) --- diff --git a/packages/docs/core-concepts/state.md b/packages/docs/core-concepts/state.md index a54b9b91..143cbeee 100644 --- a/packages/docs/core-concepts/state.md +++ b/packages/docs/core-concepts/state.md @@ -24,7 +24,7 @@ const useStore = defineStore('storeId', { ``` :::tip -If you are using Vue 2, the data you create in `state` follows the same rules as the `data` in a Vue instance, ie the state object must be plain and you need to call `Vue.set()` when **adding new** properties to it. **See also: [Vue#data](https://v2.vuejs.org/v2/api/#data)**. +If you are using Vue 2, the data you create in `state` follows the same rules as the `data` in a Vue instance, i.e. the state object must be plain and you need to call `Vue.set()` when **adding new** properties to it. **See also: [Vue#data](https://v2.vuejs.org/v2/api/#data)**. ::: ## Accessing the `state`