import { store as app } from './app' import {createStore} from "vuex"; import {AppState} from "../new-store/modules/app"; /*const moduleA = { state: () => ({ ... }), mutations: { ... }, actions: { ... }, getters: { ... } } const moduleB = { state: () => ({ ... }), mutations: { ... }, actions: { ... } }*/ export interface RootState { app: AppState } export const store = createStore({ modules: { app: app, } })