flaschengeist-frontend/src/store/module-example/index.ts

17 lines
402 B
TypeScript
Raw Normal View History

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