From: Abbas Siddiqi Date: Sat, 2 Dec 2023 08:26:48 +0000 (+0500) Subject: docs: fix property name in the example (#2511) X-Git-Tag: @pinia/nuxt@0.5.2-beta.0~81 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=643969a22777e50b65bb8ecf7aa2a01ce4dc5833;p=thirdparty%2Fvuejs%2Fpinia.git docs: fix property name in the example (#2511) --- diff --git a/packages/docs/core-concepts/index.md b/packages/docs/core-concepts/index.md index b74d93e5..c8cc37c8 100644 --- a/packages/docs/core-concepts/index.md +++ b/packages/docs/core-concepts/index.md @@ -92,7 +92,7 @@ export const useSearchFilters = defineStore('search-filters', () => { ``` :::warning -Do not return properties like `useRoute()` or `appProvided` (from the example above) as they do not belong to the store itself and you can directly access them within components with `useRoute()` and `inject('appProvided')`. +Do not return properties like `route` or `appProvided` (from the example above) as they do not belong to the store itself and you can directly access them within components with `useRoute()` and `inject('appProvided')`. ::: ## What syntax should I pick?