2023-07-24 10:05:07 +08:00
|
|
|
import { createPinia } from 'pinia';
|
|
|
|
|
import useAppStore from './modules/app';
|
2023-09-25 22:05:48 +08:00
|
|
|
import useMenuStore from './modules/menu';
|
2023-07-24 10:05:07 +08:00
|
|
|
import useUserStore from './modules/user';
|
|
|
|
|
import useTabBarStore from './modules/tab-bar';
|
2023-08-09 15:45:33 +08:00
|
|
|
import useCacheStore from './modules/cache';
|
2023-07-24 10:05:07 +08:00
|
|
|
|
|
|
|
|
const pinia = createPinia();
|
|
|
|
|
|
2023-07-27 18:48:15 +08:00
|
|
|
export {
|
|
|
|
|
useAppStore,
|
2023-09-25 22:05:48 +08:00
|
|
|
useMenuStore,
|
2023-07-27 18:48:15 +08:00
|
|
|
useUserStore,
|
2023-08-08 17:59:37 +08:00
|
|
|
useTabBarStore,
|
2023-08-09 15:45:33 +08:00
|
|
|
useCacheStore
|
2023-07-27 18:48:15 +08:00
|
|
|
};
|
|
|
|
|
|
2023-07-24 10:05:07 +08:00
|
|
|
export default pinia;
|