fantasia-archive/src/store/module-example/index.ts

17 lines
394 B
TypeScript
Raw Normal View History

2021-07-10 04:38:42 +12: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