export const state = () => { return { lang: 'ru', } } export const mutations = { set_lang(state, value) { state.lang = value }, }