Random changes for many files.
Signed-off-by: Pavel Kirilin <win10@list.ru>
This commit is contained in:
15
store/index.ts
Normal file
15
store/index.ts
Normal file
@ -0,0 +1,15 @@
|
||||
interface State{
|
||||
lang: String
|
||||
}
|
||||
|
||||
export const state = () => {
|
||||
return {
|
||||
lang: "ru"
|
||||
}
|
||||
}
|
||||
|
||||
export const mutations = {
|
||||
set_lang (state: State, value: String) {
|
||||
state.lang = value
|
||||
},
|
||||
}
|
Reference in New Issue
Block a user