From c16a9b95c063b3486e224901d98a68fc5c1ad436 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Bisinger?= Date: Wed, 1 Jun 2022 17:42:48 +0200 Subject: [PATCH] docs: update link to Vue 2 documentation (#1330) Use the correct subdomain to link to the Vue 2 documentation. Since the switch to Vue 3 as the default Vue version, to access the Vue 2 documentation the `https://v2.vuejs.org` subdomain must be used. --- packages/docs/core-concepts/state.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docs/core-concepts/state.md b/packages/docs/core-concepts/state.md index 8d4fef21..db47b014 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://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, 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)**. ::: ## Accessing the `state` -- 2.47.2