You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
649 B
JavaScript

import { createPinia } from 'pinia';
import useAppStore from './modules/app';
import useDictStore from './modules/dict';
import usePermissionStore from './modules/permission';
import useSettingsStore from './modules/settings';
import useTagsViewStore from './modules/tagsView';
import useUserStore from './modules/user';
import piniaPluginPersist from 'pinia-plugin-persist'
const store = createPinia()
store.use(piniaPluginPersist)
export { store, useAppStore, useDictStore, usePermissionStore, useSettingsStore, useTagsViewStore, useUserStore }
export { useLocalStore } from './modules/local'
export { useSessionStore } from './modules/session'