xiaozhi-esp32-server/main/manager-mobile/src/store/index.ts
lapy 2be70e8e6c feat(manager-mobile): westernize H5 app, copy, and shared crypto
- English locale defaults; remove duplicate zh-only locale files

- SM2 utility sharing with the web client where applicable
2026-04-25 17:05:15 +01:00

20 lines
438 B
TypeScript

import { createPinia } from 'pinia'
import { createPersistedState } from 'pinia-plugin-persistedstate' // Data persistence
const store = createPinia()
store.use(
createPersistedState({
storage: {
getItem: uni.getStorageSync,
setItem: uni.setStorageSync,
},
}),
)
export default store
export * from './config'
export * from './plugin'
export * from './speedPitch'
// Module unified export
export * from './user'