2021-07-25 13:23:25 +02:00
|
|
|
import { createStore } from 'vuex'
|
2021-07-24 20:56:37 +02:00
|
|
|
|
|
|
|
export default createStore({
|
2021-08-04 13:59:51 +02:00
|
|
|
state: {
|
|
|
|
language: 'en',
|
|
|
|
},
|
|
|
|
mutations: {
|
|
|
|
setLanguage(state, language: string) {
|
|
|
|
state.language = language
|
|
|
|
},
|
|
|
|
},
|
2021-07-24 20:56:37 +02:00
|
|
|
actions: {},
|
|
|
|
modules: {},
|
2021-07-25 13:23:25 +02:00
|
|
|
})
|