Client - add dropdown to select language

This commit is contained in:
Sam
2021-08-04 13:59:51 +02:00
parent 1e77fa68b6
commit b01f867d80
8 changed files with 186 additions and 22 deletions

View File

@ -1,8 +1,14 @@
import { createStore } from 'vuex'
export default createStore({
state: {},
mutations: {},
state: {
language: 'en',
},
mutations: {
setLanguage(state, language: string) {
state.language = language
},
},
actions: {},
modules: {},
})