Client - add dropdown to select language
This commit is contained in:
@ -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: {},
|
||||
})
|
||||
|
Reference in New Issue
Block a user