Skip to content

Commit

Permalink
fix case sensitive links (#2718)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
chriscpty committed Jul 15, 2024
1 parent b3fd503 commit 26cb713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs/cookbook/composing-stores.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 26cb713

Please sign in to comment.