2019-06-03 03:31:38 +00:00
|
|
|
import state from './state';
|
|
|
|
import mutations from './mutations';
|
2021-03-15 02:30:47 +00:00
|
|
|
import getters from './getters';
|
2019-06-03 03:31:38 +00:00
|
|
|
import actions from './actions';
|
|
|
|
|
|
|
|
function initAuthStore(store, router) {
|
2020-05-14 02:26:05 +00:00
|
|
|
return {
|
|
|
|
state,
|
|
|
|
mutations,
|
2021-03-15 02:30:47 +00:00
|
|
|
getters,
|
2020-05-14 02:26:05 +00:00
|
|
|
actions: actions(store, router),
|
|
|
|
};
|
2019-06-03 03:31:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export default initAuthStore;
|