FitTrackee/fittrackee_client/src/store/index.ts

15 lines
236 B
TypeScript
Raw Normal View History

2021-07-25 13:23:25 +02:00
import { createStore } from 'vuex'
export default createStore({
state: {
language: 'en',
},
mutations: {
setLanguage(state, language: string) {
state.language = language
},
},
actions: {},
modules: {},
2021-07-25 13:23:25 +02:00
})