This commit is contained in:
2026-06-09 19:29:04 +08:00
commit d171a5b73b
23 changed files with 1676 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
import { createPinia } from 'pinia'
import piniaPersist from "pinia-plugin-persist-uni"
const pinia = createPinia()
pinia.use(piniaPersist)
export function setupStore(app) {
app.use(pinia)
}
export * from './modules/user'
export default pinia