2020-10-02 07:13:14 +00:00
|
|
|
import { Module } from 'vuex';
|
|
|
|
import { StateInterface } from '../index';
|
2020-10-15 01:36:25 +00:00
|
|
|
import state, { UserStateInterface } from './state';
|
2020-10-02 07:13:14 +00:00
|
|
|
import actions from './actions';
|
|
|
|
import getters from './getters';
|
|
|
|
import mutations from './mutations';
|
|
|
|
|
2020-10-15 01:36:25 +00:00
|
|
|
const exampleModule: Module<UserStateInterface, StateInterface> = {
|
2020-10-02 07:13:14 +00:00
|
|
|
namespaced: true,
|
|
|
|
actions,
|
|
|
|
getters,
|
|
|
|
mutations,
|
|
|
|
state
|
|
|
|
};
|
|
|
|
|
|
|
|
export default exampleModule;
|