We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa9312e commit 8d2d987Copy full SHA for 8d2d987
packages/docs/core-concepts/index.md
@@ -14,7 +14,7 @@ import { defineStore } from 'pinia'
14
// but it's best to use the name of the store and surround it with `use`
15
// and `Store` (e.g. `useUserStore`, `useCartStore`, `useProductStore`)
16
// the first argument is a unique id of the store across your application
17
-export const useStore = defineStore('main', {
+export const useAlertsStore = defineStore('alerts', {
18
// other options...
19
})
20
```
0 commit comments