front-end almost done | started back-end
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
export const state = () => ({
|
||||
languages: null,
|
||||
locale: 'fa',
|
||||
unread: 0
|
||||
})
|
||||
|
||||
export const mutations = {
|
||||
updateLanguages(state, payload) {
|
||||
state.languages = payload
|
||||
},
|
||||
changeLocale(state, payload) {
|
||||
state.locale = payload
|
||||
},
|
||||
unreadCount(state, payload) {
|
||||
state.unread = payload
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user