From: Christina Reichel <123160582+chriscpty@users.noreply.github.com> Date: Mon, 15 Jul 2024 17:15:16 +0000 (+0200) Subject: fix case sensitive links (#2718) X-Git-Tag: @pinia/nuxt@0.5.2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=26cb7134045c2397914593493e165afd8cc720e8;p=thirdparty%2Fvuejs%2Fpinia.git fix case sensitive links (#2718) The "Shared-Getters" and "Shared-Actions" links need to be capitalised to work - this is due to the markdown processor pinia uses giving them capitalised IDs. --- diff --git a/packages/docs/cookbook/composing-stores.md b/packages/docs/cookbook/composing-stores.md index 1c4cae0b..b37287d9 100644 --- a/packages/docs/cookbook/composing-stores.md +++ b/packages/docs/cookbook/composing-stores.md @@ -42,7 +42,7 @@ const useY = defineStore('y', () => { ## Nested Stores -Note that if one store uses another store, you can directly import and call the `useStore()` function within _actions_ and _getters_. Then you can interact with the store just like you would from within a Vue component. See [Shared Getters](#shared-getters) and [Shared Actions](#shared-actions). +Note that if one store uses another store, you can directly import and call the `useStore()` function within _actions_ and _getters_. Then you can interact with the store just like you would from within a Vue component. See [Shared Getters](#Shared-Getters) and [Shared Actions](#Shared-Actions). When it comes to _setup stores_, you can simply use one of the stores **at the top** of the store function: