This commit is contained in:
SunWuyuan
2024-11-17 17:04:36 +08:00
parent b65cbdeefc
commit 72cee17d7f
31 changed files with 4591 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
# Store
Pinia stores are used to store reactive state and expose actions to mutate it.
Full documentation for this feature can be found in the Official [Pinia](https://pinia.esm.dev/) repository.
+8
View File
@@ -0,0 +1,8 @@
// Utilities
import { defineStore } from 'pinia'
export const useAppStore = defineStore('app', {
state: () => ({
//
}),
})
+4
View File
@@ -0,0 +1,4 @@
// Utilities
import { createPinia } from 'pinia'
export default createPinia()