* Update index.md
hey brother, you forgot to import define store from pinia and also computed from vue, with all due respect, apologize for the yesterday I just wanna help to make the pinia package perfect and seamless !!
* Update packages/docs/core-concepts/index.md [skip ci]
* Update packages/docs/core-concepts/index.md [skip ci]
* Update packages/docs/core-concepts/index.md [skip ci]
---------
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
```ts
import { inject } from 'vue'
import { useRoute } from 'vue-router'
+import { defineStore } from 'pinia'
export const useSearchFilters = defineStore('search-filters', () => {
const route = useRoute()
```vue
<script setup>
import { useCounterStore } from '@/stores/counter'
+import { computed } from 'vue'
+
const store = useCounterStore()
// ❌ This won't work because it breaks reactivity
// it's the same as destructuring from `props`