feat: useVisit-export
This commit is contained in:
parent
01a8a95088
commit
951eb65841
|
@ -1,11 +1,12 @@
|
||||||
import { createPinia } from 'pinia';
|
import { createPinia } from 'pinia';
|
||||||
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate';
|
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate';
|
||||||
import useAppStore from './modules/app';
|
import useAppStore from './modules/app';
|
||||||
|
import useVisitStore from './modules/app/visit';
|
||||||
import useUserStore from './modules/user';
|
import useUserStore from './modules/user';
|
||||||
import useTabBarStore from './modules/tab-bar';
|
import useTabBarStore from './modules/tab-bar';
|
||||||
import { debouncePlugin } from './plugins';
|
import { debouncePlugin } from './plugins';
|
||||||
|
|
||||||
const pinia = createPinia().use(debouncePlugin).use(piniaPluginPersistedstate);
|
const pinia = createPinia().use(debouncePlugin).use(piniaPluginPersistedstate);
|
||||||
|
|
||||||
export { useAppStore, useUserStore, useTabBarStore };
|
export { useAppStore, useUserStore, useTabBarStore, useVisitStore };
|
||||||
export default pinia;
|
export default pinia;
|
||||||
|
|
Loading…
Reference in New Issue