]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs: import storeToRefs in example (#2044)
authorAlen Mehic <102369840+mehicalen@users.noreply.github.com>
Thu, 2 Mar 2023 16:45:33 +0000 (16:45 +0000)
committerGitHub <noreply@github.com>
Thu, 2 Mar 2023 16:45:33 +0000 (17:45 +0100)
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
packages/docs/core-concepts/getters.md

index 95fee0a24fb00125ae96624f4748a3fc5ba28bd5..02ae81a5d642626bd899cd6579f152c17af82e04 100644 (file)
@@ -98,6 +98,7 @@ and use in component:
 
 ```vue
 <script setup>
+import { storeToRefs } from 'pinia'
 import { useUserListStore } from './store'
 
 const userList = useUserListStore()