export const state = () => ({ state: "", phase: "", }) export const mutations = { setStateAndPhase(state, { state: gameState, phase }) { state.state = gameState state.phase = phase }, }